summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-08 00:41:00 -0400
committerbd <bdunahu@operationnull.com>2025-04-08 00:41:00 -0400
commit4c76966b49e8559f710013463dac04143c1f4e09 (patch)
tree4959e1e151baf67a0093e57baecc1a8afd80cd9c /src
parent0fe2cc70abacc7c9e7aa2602836c8226bb1a1dc3 (diff)
Add plus and minus symbols to lexer
Diffstat (limited to 'src')
-rw-r--r--src/lex.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lex.lisp b/src/lex.lisp
index eea0709..d5c77a1 100644
--- a/src/lex.lisp
+++ b/src/lex.lisp
@@ -54,6 +54,9 @@ Comments start with a semi-colon ';' and all tokens after are ignored."
((char= chr #\:) 'colon)
((char= chr #\$) 'dollar)
+ ((char= chr #\+) 'plus)
+ ((char= chr #\-) 'minus)
+
((digit-char-p chr)
(read-immediate chr))