diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:27:25 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-18 01:27:25 -0500 |
| commit | eabff011ea552a4fecc13de129e0a205b77bc289 (patch) | |
| tree | 21fd0c14e9d7dcadab6d3e3339193476eb850793 /ast.h | |
| parent | 733ebfd234906aac08a66e6c2ebe7ed2a0c4d375 (diff) | |
Add in '#' operator for length
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,7 +88,7 @@ typedef enum { StringLiteral, StringJoin, Declare, Assign, BinaryOp, UpdateAssign, - Not, Negative, HeapAllocate, StackReference, + Length, Not, Negative, HeapAllocate, StackReference, Min, Max, Array, Table, TableEntry, FunctionDef, Lambda, @@ -150,7 +150,7 @@ struct ast_s { } BinaryOp, UpdateAssign; struct { ast_t *value; - } Not, Negative, HeapAllocate, StackReference; + } Length, Not, Negative, HeapAllocate, StackReference; struct { ast_t *lhs, *rhs, *key; } Min, Max; |
