From 2572cd049ee5e1e2685b1abe6bfcfbb8aa988a71 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Thu, 5 May 2022 16:14:01 -0400 Subject: Add methods to crash in a defined way --- tnslc/ast/value.tnsl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tnslc/ast/value.tnsl') 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] -- cgit v1.2.3