summaryrefslogtreecommitdiff
path: root/t/lex.lisp
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-08 01:56:18 -0400
committerbd <bdunahu@operationnull.com>2025-04-08 01:56:18 -0400
commitb85c10ba1c53f1b442fea6bde4c2a2f73cfe5d6b (patch)
tree643d37db692c19d1ef64223eadcac7a28dbbd7db /t/lex.lisp
parent4c76966b49e8559f710013463dac04143c1f4e09 (diff)
Simplify lexer-error handling, skeletion parsing functions for types
Diffstat (limited to 't/lex.lisp')
-rw-r--r--t/lex.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lex.lisp b/t/lex.lisp
index dfa632a..7a20608 100644
--- a/t/lex.lisp
+++ b/t/lex.lisp
@@ -76,7 +76,7 @@
(handler-case
(progn (read-this "0v0" (lex:read-token))
(fail))
- (lex:invalid-immediate-or-keyword ())))
+ (lex:lexer-error ())))
;; do we want a custom error for this too?
(test read-token-immediate-radix
@@ -97,4 +97,4 @@
(handler-case
(progn (read-this "sub0" (lex:read-token))
(fail))
- (lex:invalid-immediate-or-keyword ())))
+ (lex:lexer-error ())))