1.1 --- a/jitcraft/Parser.h Sun Jul 08 15:23:48 2012 -0700
1.2 +++ b/jitcraft/Parser.h Sun Jul 08 16:49:17 2012 -0700
1.3 @@ -39,6 +39,7 @@
1.4 void redeclarationError(BoundName *name);
1.5 bool match(TokenKind kind);
1.6 bool expect(TokenKind kind);
1.7 + bool matchSemicolon();
1.8
1.9 Scope *enterScope(Scope::Kind kind);
1.10
1.11 @@ -66,7 +67,7 @@
1.12 Statement *enum_();
1.13 Statement *if_();
1.14 Statement *block(Scope *scope = NULL);
1.15 - Statement *function();
1.16 + Statement *function(TokenKind tok);
1.17 Statement *expressionStatement();
1.18 Statement *while_();
1.19 Statement *do_();