lang: ast: implement parsing of break/continue loop-control statements
This commit is contained in:
@@ -78,8 +78,10 @@ struct ast_node_type expr_node_ops = {
|
||||
.n_keyword_parsers = {
|
||||
/* statement keywords */
|
||||
KW_PARSER(FOR, stmt_parse_for),
|
||||
KW_PARSER(TRY, stmt_parse_try),
|
||||
KW_PARSER(WHILE, stmt_parse_while),
|
||||
KW_PARSER(BREAK, stmt_parse_break),
|
||||
KW_PARSER(CONTINUE, stmt_parse_continue),
|
||||
KW_PARSER(TRY, stmt_parse_try),
|
||||
KW_PARSER(MATCH, stmt_parse_match),
|
||||
KW_PARSER(IF, stmt_parse_if),
|
||||
KW_PARSER(THEN, stmt_parse_end),
|
||||
|
||||
Reference in New Issue
Block a user