From 05136fdd25bf065f81ed20f74d402592a7c6e8f2 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 16 Apr 2024 15:38:24 +0630 Subject: Fixed examples for changes in lexer Name assigned to %CONST is the next symbol in stream, not the symbol attached to it. --- examples/factorial.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/factorial.asm') diff --git a/examples/factorial.asm b/examples/factorial.asm index 54fc956..c4257e4 100644 --- a/examples/factorial.asm +++ b/examples/factorial.asm @@ -6,7 +6,7 @@ ;; 65 which means that past 20! results are truncated and therefore ;; the program produces inaccurate factorials. - %const(limit) 20 %end + %const limit 20 %end ;; Setup entrypoint global main -- cgit v1.2.3-13-gbd6f