diff options
Diffstat (limited to 'src/parser.y')
-rw-r--r-- | src/parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.y b/src/parser.y index bbe4840..024d61a 100644 --- a/src/parser.y +++ b/src/parser.y | |||
@@ -269,11 +269,11 @@ expr: literal | |||
269 | ; | 269 | ; |
270 | 270 | ||
271 | funcCallParams: | 271 | funcCallParams: |
272 | | expr funcCallParamsEx { bld.stackMod( AstNode::tPop ); } | 272 | | expr { bld.addNode( AstNode::tDeref ); } funcCallParamsEx { bld.stackMod( AstNode::tPop ); } |
273 | ; | 273 | ; |
274 | 274 | ||
275 | funcCallParamsEx: | 275 | funcCallParamsEx: |
276 | | funcCallParamsEx ',' expr { bld.stackMod( AstNode::tPop ); } | 276 | | funcCallParamsEx ',' expr { bld.addNode( AstNode::tDeref ); bld.stackMod( AstNode::tPop ); } |
277 | ; | 277 | ; |
278 | 278 | ||
279 | listValues: expr { bld.addNode( AstNode::tAppend ); } | 279 | listValues: expr { bld.addNode( AstNode::tAppend ); } |