Skip to content

Commit 28e6505

Browse files
committed
else-less cond fixed.
1 parent abe4152 commit 28e6505

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

langs/outlaw/read.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@
561561
(let ((x (char->integer c)))
562562
(cond [(<= 48 x 57) (- x 48)]
563563
[(<= 65 x 70) (- x 55)]
564-
[(<= 97 x 102) (- x 87)])))
564+
[(<= 97 x 102) (- x 87)]
565+
[else (error "bad char-digit16")])))
565566

566567
(define (octal-char d1 d2 d3)
567568
(let ((x (+ (*64 (char-digit8->number d1))

0 commit comments

Comments
 (0)