1.1 --- a/jitcraft/Parser.h Mon Jun 25 21:20:01 2012 -0700
1.2 +++ b/jitcraft/Parser.h Tue Jun 26 00:35:15 2012 -0700
1.3 @@ -37,6 +37,7 @@
1.4
1.5 private:
1.6 void redeclarationError() {
1.7 + assert(false);
1.8 }
1.9 bool match(TokenKind kind);
1.10 bool expect(TokenKind kind);
1.11 @@ -52,11 +53,13 @@
1.12 Expression *primary();
1.13 Expression *unary();
1.14 Expression *multiplication();
1.15 + Expression *shift();
1.16 Expression *addition();
1.17 Expression *relational();
1.18 Expression *equals();
1.19 Expression *expression();
1.20
1.21 + Statement *enum_();
1.22 Statement *if_();
1.23 Statement *block();
1.24 Statement *function();