summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.y b/src/parser.y
index c5b86ea..383ab28 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -163,8 +163,8 @@ cmpltExprList:
163 ; 163 ;
164 164
165cmpltExpr: expr ';' { bld.endCmpltExpr(); } 165cmpltExpr: expr ';' { bld.endCmpltExpr(); }
166 | tokReturn '(' expr ')' ';' { bld.addNode( AstNode::tReturn ); bld.endCmpltExpr();} 166 | tokReturn '(' expr ')' ';' { bld.addNode( AstNode::tDeref ); bld.addNode( AstNode::tReturn ); bld.endCmpltExpr(); }
167 | tokReturn '(' ')' ';' { bld.addNode( AstNode::tReturn ); bld.endCmpltExpr();} 167 | tokReturn '(' ')' ';' { bld.addLiteral( Variable::tNull ); bld.addNode( AstNode::tReturn ); bld.endCmpltExpr();}
168 | tokGoto '(' expr ')' ';' { bld.addNode( AstNode::tGoto ); bld.endCmpltExpr();} 168 | tokGoto '(' expr ')' ';' { bld.addNode( AstNode::tGoto ); bld.endCmpltExpr();}
169 | ifbase 169 | ifbase
170 | tokFor tokEach { 170 | tokFor tokEach {