parser: support break and fix local decl

This commit is contained in:
2026-04-17 19:22:02 +02:00
parent 9d2293baa6
commit 3534e7a388
3 changed files with 28 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ typedef enum noomP_NodeType {
NOOMP_NODE_IFSTATEMENT,
NOOMP_NODE_WHILELOOP,
NOOMP_NODE_BLOCK,
NOOMP_NODE_BREAK,
NOOMP_NODE_VARIABLE,
NOOMP_NODE_NUMBERLITERAL,