Created
July 7, 2009 08:54
-
-
Save simonask/141971 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* simplified; no UNLESS. */ | |
conditional: IF expression EOL body EOL post_conditional { $$ = snow_ast_if_else($2, $4, $6); } | |
post_conditional: END | |
| ELSEIF expression EOL body EOL post_conditional { $$ = snow_ast_if_else($2, $4, $6); } | |
| ELSE body EOL { $$ = $2; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment