From 1bd7f709f5217b248fcb3a4c7be2eeca84fec795 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 29 Dec 2011 15:53:38 -0700 Subject: This commit...I dunno I'm using a different version of everything, and I don't know if it's forward compatible or not. --- src/parser.y | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/parser.y') diff --git a/src/parser.y b/src/parser.y index 8f538a5..ffb6da2 100644 --- a/src/parser.y +++ b/src/parser.y @@ -12,7 +12,8 @@ typedef void *yyscan_t; %locations -%define api.pure +%pure-parser +/* %define api.pure */ %debug %error-verbose @@ -149,7 +150,7 @@ cmpltExprList: ; cmpltExpr: expr ';' - | tokGoto '(' expr ')' ';' + | tokGoto '(' expr ')' ';' { bld.addNode( AstNode::tGoto ); } | ifbase | tokFor tokEach forIterator tokIn expr tokDo '{' cmpltExprList '}' | tokWhile { -- cgit v1.2.3