summaryrefslogtreecommitdiff
path: root/tnslc/ast/value.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-05-05 16:14:01 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-05-05 16:14:01 -0400
commit2572cd049ee5e1e2685b1abe6bfcfbb8aa988a71 (patch)
treeb191126f961c6befc6da2c65c28d5bef69077579 /tnslc/ast/value.tnsl
parent5cf518362e6bc08eb44eb8d6ed74a0a23c2c3a5f (diff)
Add methods to crash in a defined way
Diffstat (limited to 'tnslc/ast/value.tnsl')
-rw-r--r--tnslc/ast/value.tnsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tnslc/ast/value.tnsl b/tnslc/ast/value.tnsl
index 2cefb62..d90c00a 100644
--- a/tnslc/ast/value.tnsl
+++ b/tnslc/ast/value.tnsl
@@ -21,7 +21,10 @@
;/
/; tree_value [Node]
+ ;Token def_tok = {NODE_TYPE.VALUE, 0, 0, ~CNULL}
+ ;{}Node def_sub = {}
+ ;return {def_tok, ~def_sub}
;/
/; tree_definition [Node]