summaryrefslogtreecommitdiff
path: root/tnslc/parse/ast.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-08-07 22:09:48 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-08-07 22:09:48 -0400
commitdeb0cf67ae5e3e0299e5647f92183c3f98f9d032 (patch)
tree67fc0bbe7be931362deca43c6215a137faa79337 /tnslc/parse/ast.tnsl
parent1935e25ff41383e5448fa34c381b8e30c7bb9b56 (diff)
[tnslc] add new node types into tree print
Diffstat (limited to 'tnslc/parse/ast.tnsl')
-rw-r--r--tnslc/parse/ast.tnsl6
1 files changed, 6 insertions, 0 deletions
diff --git a/tnslc/parse/ast.tnsl b/tnslc/parse/ast.tnsl
index 04a69aa..f90428e 100644
--- a/tnslc/parse/ast.tnsl
+++ b/tnslc/parse/ast.tnsl
@@ -1255,6 +1255,12 @@ struct Node {
_printf("VLIST\0")
;; else if (n`._type == NTYPE_VALUE)
_printf("VALUE\0")
+ ;; else if (n`._type == NTYPE_CAST)
+ _printf("CAST\0")
+ ;; else if (n`._type == NTYPE_FLOW_CONTROL)
+ _printf("FLOW_CONTROL\0")
+ ;; else if (n`._type == NTYPE_CONTROL_BLOCK)
+ _printf("CONTROL_BLOCK\0")
;; else if (n`._type == NTYPE_ASM)
_printf("ASM\0")
;/