lang: implement elif keyword for more complex if-statements
This commit is contained in:
@@ -84,6 +84,7 @@ struct ast_node_type expr_node_ops = {
|
||||
KW_PARSER(IF, stmt_parse_if),
|
||||
KW_PARSER(THEN, stmt_parse_end),
|
||||
KW_PARSER(ELSE, stmt_parse_end),
|
||||
KW_PARSER(ELIF, stmt_parse_end),
|
||||
KW_PARSER(CATCH, stmt_parse_end),
|
||||
KW_PARSER(FINALLY, stmt_parse_end),
|
||||
KW_PARSER(END, stmt_parse_end),
|
||||
|
||||
Reference in New Issue
Block a user