diff options
author | bd <bdunahu@operationnull.com> | 2025-01-18 11:40:25 -0700 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-01-18 11:40:25 -0700 |
commit | b1e901b5ea18eb5b1fc985ae2d44737858afc3e2 (patch) | |
tree | 105d2817f5ba2f1b72e6741a196591d6fc00d266 /src/modules/parser/driver.scm | |
parent | 14b2600bd58b0a4b09c6647c1d78ab7bccd4c1aa (diff) |
Complete full translation for unary operators
Diffstat (limited to 'src/modules/parser/driver.scm')
-rw-r--r-- | src/modules/parser/driver.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/parser/driver.scm b/src/modules/parser/driver.scm index f5e503e..e464a7a 100644 --- a/src/modules/parser/driver.scm +++ b/src/modules/parser/driver.scm @@ -27,7 +27,7 @@ (define (expression tokens) (match tokens (((? integer? int)) - int) + (list 'const int)) (((or 'neg 'not) expr ...) (list 'expr (car tokens) (expression expr))) (('left-paren expr ... 'right-paren) |