Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %nonassoc NO_ELSE
- %nonassoc ELSE
- stmt_conditional
- : IF '(' expr { show_if1b($3); } ')'
- stmt_compound { show_if1e(); } %prec NO_ELSE
- | IF '(' expr { show_if2b($3); } ')'
- stmt_compound { show_else(); }
- ELSE stmt_compound { show_if2e(); }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement