diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-28 13:14:47 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-28 13:14:47 +0200 |
commit | b75cc76276216af71d7bc89c894187df726e4a71 (patch) | |
tree | 576135e92fd9090c540dea19ae23a6347715387d /src/parser.h | |
parent | 025a60e1e9bfa02be082a072967795fe34b9d85b (diff) |
Prelimiary work on binary expressions
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h index 055350a..9cdf0c4 100644 --- a/src/parser.h +++ b/src/parser.h @@ -66,6 +66,14 @@ enum { ‘lhs - rhs’ */ ASTBINSUB = '-', + /* Binary multiplication + ‘lhs - rhs’ */ + ASTBINMUL = '*', + + /* Binary division + ‘lhs - rhs’ */ + ASTBINDIV = '/', + _AST_LAST_ENT, }; |