diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-15 14:22:11 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-15 14:22:11 -0400 |
| commit | f51acef40e8297d7bd41b774413aa8331ca946ed (patch) | |
| tree | 56aa02541d60beb3ece496fed2c11afd3ae942f3 /ast.h | |
| parent | 7a2653501310825e02d99d51fb4b9f1aacc75214 (diff) | |
Overhaul of Path so it uses root and array of components instead of
stringly typed
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -124,6 +124,7 @@ typedef enum { None, Bool, Var, Int, Num, TextLiteral, TextJoin, PrintStatement, + Path, Declare, Assign, BinaryOp, UpdateAssign, Not, Negative, HeapAllocate, StackReference, Mutexed, Holding, @@ -176,6 +177,9 @@ struct ast_s { ast_list_t *children; } TextJoin; struct { + const char *path; + } Path; + struct { ast_list_t *to_print; } PrintStatement; struct { |
