ref: 1452b015182fe3b0960f85048ee42fd6dca209cf
parent: 7856c56148a004d82cd49a8da232ee88ce5377c1
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Dec 17 11:36:09 EST 2015
Fix missing ';' in grammar.
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -257,7 +257,8 @@
$3.nl[i]->decl.isgeneric = 1;
}
$$ = $3;
- }
+ }
+ ;
attrs : /* empty */ {$$.nstr = 0; $$.str = NULL;}
| Tattr attrs {
@@ -844,7 +845,7 @@
$$ = $4;
mkidxinit($2->loc, mkname($2->loc, $2->id), $4);
}
- ;
+ ;
optendlns : /* none */
| optendlns Tendln
@@ -881,7 +882,6 @@
$$ = mkloopstmt($1->loc, $2.nl[0], $4, $5, $6);
putdcl($$->loopstmt.scope, $2.nl[0]);
}
-
;
whilestmt