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.c | |
| parent | 733ebfd234906aac08a66e6c2ebe7ed2a0c4d375 (diff) | |
Add in '#' operator for length
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -94,6 +94,7 @@ CORD ast_to_cord(ast_t *ast) T(Assign, "(targets=%r, values=%r)", ast_list_to_cord(data.targets), ast_list_to_cord(data.values)) T(BinaryOp, "(%r, %s, %r)", ast_to_cord(data.lhs), OP_NAMES[data.op], ast_to_cord(data.rhs)) T(UpdateAssign, "(%r, %s, %r)", ast_to_cord(data.lhs), OP_NAMES[data.op], ast_to_cord(data.rhs)) + T(Length, "(%r)", ast_to_cord(data.value)) T(Negative, "(%r)", ast_to_cord(data.value)) T(Not, "(%r)", ast_to_cord(data.value)) T(HeapAllocate, "(%r)", ast_to_cord(data.value)) |
