lang: implement elif keyword for more complex if-statements

This commit is contained in:
2025-04-24 09:45:26 +01:00
parent d37c07e5e4
commit cbec21b90f
5 changed files with 60 additions and 11 deletions

View File

@@ -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),