summaryrefslogtreecommitdiff
path: root/ull
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-01-28 16:22:49 -0500
committerbd <bdunahu@operationnull.com>2025-01-28 16:22:49 -0500
commitce7189464a302872634d949cf06e9071b625bfcb (patch)
treeadadc344f518642a009a2c12215e90bda420fc67 /ull
parent9e09767e23a4edb6b31540195bfe885f83e080d7 (diff)
Fix various lexer/parser bugs, pass all tests for binary ops
Diffstat (limited to 'ull')
-rwxr-xr-xull4
1 files changed, 2 insertions, 2 deletions
diff --git a/ull b/ull
index 004d7e5..a6e6c28 100755
--- a/ull
+++ b/ull
@@ -120,8 +120,8 @@ Returns #f on a failure, #t on a success."
;; call the backend
(begin (display "Parser reported success\n")
(let ((program (backend c-ast tack? generate? write?)))
- (when write?
+ (when (and write? (not tack?) (not generate?))
(write program assembly-file-name)
;; call postprocessing
(postprocess assembly-file-name executable-file-name))))
- (display "Tokenizer successful. "))))))))
+ (display "Tokenizer reported success\n"))))))))