Skip to content

Commit

Permalink
p2 opexpr: no tuple
Browse files Browse the repository at this point in the history
fixes 1+1*2 like expressions
  • Loading branch information
Reini Urban committed Sep 20, 2013
1 parent 0c1a3af commit 9815db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syn/syntax-p5.y
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ expr = c:method { $$ = PN_AST(EXPR, c) }
| c:call l:listexprs { $$ = PN_SHIFT(PN_S(l,0));
if (!PN_S(l, 0)) { PN_SRC(c)->a[1] = PN_SRC($$); }
$$ = PN_PUSH(PN_TUP($$), c); }
| e:opexpr { $$ = PN_TUPIF(e) }
| e:opexpr { $$ = e }
| c:call { $$ = PN_AST(EXPR, c) }
| e:eatom

Expand Down

0 comments on commit 9815db2

Please sign in to comment.