diff options
author | bd <bdunahu@operationnull.com> | 2025-04-03 03:20:12 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-03 03:20:12 -0400 |
commit | 458f25364589979cd9099a9ad5fb89932511e78b (patch) | |
tree | d52d75de2fd2bf42eb10fdcf21ddc16299d4e326 /src | |
parent | 14d6dd6f18ef8a94da7def84b4c8eb39a37e309c (diff) |
Fix minor bug
Diffstat (limited to 'src')
-rw-r--r-- | src/lex.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lex.lisp b/src/lex.lisp index e86d1e9..eea0709 100644 --- a/src/lex.lisp +++ b/src/lex.lisp @@ -79,8 +79,8 @@ Comments start with a semi-colon ';' and all tokens after are ignored." ((char= next #\b) 2) ((char= next #\o) 8) ((char= next #\x) 16) - ((digit-char-p next) 10) - (t nil))) + ((alpha-char-p next) nil) + (t 10))) (arg (list chr))) (when (and (char= chr #\0) radix (not (= radix 10))) (read-char *standard-input* nil) |