improve `for' body syntax-error reporting
Closes PR 12850
This commit is contained in:
parent
089cb6669c
commit
16d877d45e
|
@ -1320,7 +1320,7 @@
|
|||
(quasisyntax/loc stx
|
||||
#,(wrap (quasisyntax/loc stx
|
||||
(derived-id #,stx fold-bind (bind ...)
|
||||
#,(combine #'(let () expr1 expr ...)))))))]
|
||||
#,(combine (syntax/loc stx (let () expr1 expr ...))))))))]
|
||||
;; Let `derived-id' complain about the missing bindings and body expression:
|
||||
[(_ . rest)
|
||||
#`(derived-id #,stx fold-bind . rest)])))
|
||||
|
|
Loading…
Reference in New Issue
Block a user