Last active
August 29, 2015 14:00
-
-
Save MLLeKander/cac2d2d179e09beafe48 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
stmt = make_unique<ast::Print>(); | |
if (!SYNTAX_OPTIONAL_ADVANCE_KEYWORD(lex::KW_endl)) { | |
MUST_PARSE(parse_expr<CK_Regular>(r, lr, f, it, | |
stmt->as_a<ast::Print>().expr)); | |
} | |
if (SYNTAX_OPTIONAL_ADVANCE_KEYWORD(lex::KW_endl)) { | |
stmt->as_a<ast::Print>().endl = true; | |
} | |
SYNTAX_ADVANCE(lex::TK_Semicolon); | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment