fix ASL `(begin0)' error message
This commit is contained in:
parent
917d190877
commit
2840e2367b
|
@ -2515,7 +2515,7 @@
|
|||
(syntax-case stx ()
|
||||
[(_)
|
||||
(teach-syntax-error
|
||||
'begin
|
||||
'begin0
|
||||
stx
|
||||
#f
|
||||
"expected at least one expression after begin0, but nothing's there")]
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
(htdp-top-pop 1)
|
||||
|
||||
(htdp-syntax-test #'begin0 "begin0: expected an open parenthesis before begin0, but found none")
|
||||
(htdp-syntax-test #'(begin0) "begin: expected at least one expression after begin0, but nothing's there")
|
||||
(htdp-syntax-test #'(begin0) "begin0: expected at least one expression after begin0, but nothing's there")
|
||||
|
||||
(htdp-test 1 'begin0 (begin0 1))
|
||||
(htdp-test 2 'begin0 (begin0 2 1))
|
||||
|
|
|
@ -97,5 +97,4 @@
|
|||
(htdp-syntax-test #''(1 2) "quote: expected the name of the symbol after the quote, but found a part")
|
||||
(htdp-syntax-test #'''a "quote: expected the name of the symbol after the quote, but found a part")
|
||||
|
||||
|
||||
|
||||
(report-errs)
|
||||
|
|
Loading…
Reference in New Issue
Block a user