|
1 |
| -/* A Bison parser, made by GNU Bison 3.8.2.12-013d-dirty. */ |
| 1 | +/* A Bison parser, made by GNU Bison 3.8.2. */ |
2 | 2 |
|
3 | 3 | /* Skeleton implementation for Bison LALR(1) parsers in D
|
4 | 4 |
|
@@ -205,7 +205,7 @@ public enum TokenKind {
|
205 | 205 | class Parser
|
206 | 206 | {
|
207 | 207 | /** Version number for the Bison executable that generated this parser. */
|
208 |
| - public static immutable string yy_bison_version = "3.8.2.12-013d-dirty"; |
| 208 | + public static immutable string yy_bison_version = "3.8.2"; |
209 | 209 |
|
210 | 210 | /** Name of the skeleton that generated this parser. */
|
211 | 211 | public static immutable string yy_bison_skeleton = "lalr1.d";
|
@@ -617,7 +617,7 @@ this.symtab = symtab;
|
617 | 617 |
|
618 | 618 | case 34: /* Stmt: MAT IDENT ASSIGN INV LPAREN IDENT RPAREN EOL */
|
619 | 619 | #line 78 "grammar.y"
|
620 |
| - { symtab.initializeMat(((yystack.valueAt (6)).IDENT), true); symtab.initializeMat(((yystack.valueAt (2)).IDENT)); symtab.initializeId(symtab.installId("DET")); (yyval.Stmt) = new MatInv(((yystack.valueAt (6)).IDENT), ((yystack.valueAt (2)).IDENT)); next = next.link((yyval.Stmt)); } |
| 620 | + { symtab.initializeMat(((yystack.valueAt (6)).IDENT), true); symtab.initializeMat(((yystack.valueAt (2)).IDENT)); if (symtab.edition >= Edition.Fourth) symtab.initializeId(symtab.installId("DET")); (yyval.Stmt) = new MatInv(((yystack.valueAt (6)).IDENT), ((yystack.valueAt (2)).IDENT)); next = next.link((yyval.Stmt)); } |
621 | 621 | break;
|
622 | 622 |
|
623 | 623 | case 35: /* Stmt: MAT IDENT ASSIGN LPAREN Expr RPAREN TIMES IDENT EOL */
|
@@ -1606,7 +1606,7 @@ private static immutable byte[] yyr2_ =
|
1606 | 1606 | import Node : Node, Line, Stop, Goto, GoSub, Return, Let, LetDim, LetDim2, Read, ReadDim, ReadDim2, Input, InputDim, InputDim2, If, For, Next;
|
1607 | 1607 | import Expr : Expr, Op, Constant, Identifier, Dim, Dim2, Operation, MathFn, FnCall;
|
1608 | 1608 | import LexerImpl : LexerImpl;
|
1609 |
| - import SymbolTable : SymbolTable; |
| 1609 | + import SymbolTable : SymbolTable, Edition; |
1610 | 1610 | import Print : Print, NewLine, Comma, SemiColon, String, PrintExpr;
|
1611 | 1611 | import Mat : MatRead, MatPrint, MatFullPrint, MatAdd, MatSub, MatMul, MatZerCon, MatIdn, MatTrn, MatInv, MatScalar;
|
1612 | 1612 |
|
|
0 commit comments