diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-12-18 14:44:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-12-18 14:44:37 -0500 |
| commit | c6c7cc727290663e50b8a4d28e92214fa805ca95 (patch) | |
| tree | a4f77690d44fedd445178a701969101030790a06 /ast.h | |
| parent | aa262344712be27afc02441a309ddde03fa2bec9 (diff) | |
Revert "Deprecate "&" for stack references"
This reverts commit 41c0ea851a542bcd7d54b8c5c06d70e1e00095e1.
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -99,7 +99,7 @@ struct type_ast_s { } VarTypeAST; struct { type_ast_t *pointed; - bool is_view:1; + bool is_stack:1; } PointerTypeAST; struct { type_ast_t *item; @@ -128,7 +128,7 @@ typedef enum { TextLiteral, TextJoin, PrintStatement, Declare, Assign, BinaryOp, UpdateAssign, - Not, Negative, HeapAllocate, + Not, Negative, HeapAllocate, StackReference, Min, Max, Array, Channel, Set, Table, TableEntry, Comprehension, FunctionDef, Lambda, @@ -194,7 +194,7 @@ struct ast_s { } BinaryOp, UpdateAssign; struct { ast_t *value; - } Not, Negative, HeapAllocate; + } Not, Negative, HeapAllocate, StackReference; struct { ast_t *lhs, *rhs, *key; } Min, Max; |
