make-readtable: fix argument checking
This commit is contained in:
parent
9aa0965aaa
commit
77c7b2b147
|
@ -51,7 +51,7 @@
|
||||||
(raise-argument-error 'make-readtable "(or/c char? #f)" key))
|
(raise-argument-error 'make-readtable "(or/c char? #f)" key))
|
||||||
|
|
||||||
;; Mode determines how the key is mapped
|
;; Mode determines how the key is mapped
|
||||||
(when (null? args)
|
(when (null? (cdr args))
|
||||||
(cond
|
(cond
|
||||||
[key (raise-arguments-error 'make-readtable
|
[key (raise-arguments-error 'make-readtable
|
||||||
(string-append "expected 'terminating-macro, 'non-terminating-macro, 'dispatch-macro,"
|
(string-append "expected 'terminating-macro, 'non-terminating-macro, 'dispatch-macro,"
|
||||||
|
|
|
@ -52197,7 +52197,7 @@ static const char *startup_source =
|
||||||
"(values))))"
|
"(values))))"
|
||||||
"(let-values((()"
|
"(let-values((()"
|
||||||
"(begin"
|
"(begin"
|
||||||
"(if(null? args_1)"
|
"(if(null?(cdr args_1))"
|
||||||
"(let-values()"
|
"(let-values()"
|
||||||
"(if key_0"
|
"(if key_0"
|
||||||
"(let-values()"
|
"(let-values()"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user