diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-07-01 19:58:46 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-07-01 19:58:46 +0200 |
commit | 0543c146ad5904e3f7ad5a6208e9f30f72f47ca5 (patch) | |
tree | 7a714c6206a99eb469794e3ff0f12bfe85719dcb /src/parser.h | |
parent | 4a95caabf15db0beeaceea09d1fb4b0964b119c9 (diff) |
Support assignments to mutable variables
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h index 32acc96..e30ec8e 100644 --- a/src/parser.h +++ b/src/parser.h @@ -49,6 +49,10 @@ enum { ‘return rhs’ */ ASTRET, + /* Assignment, + ‘lhs = rhs’ */ + ASTASIGN, + /* Unary negation ‘-rhs’ */ ASTUNNEG, |