mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 15:27:36 +02:00
Include invalid escape char in error message
This commit is contained in:
parent
0a63384080
commit
ff6b2f2eeb
1 changed files with 4 additions and 1 deletions
|
@ -408,7 +408,10 @@
|
|||
((equal? #\n c)
|
||||
(cons #\newline buf))
|
||||
(else
|
||||
(parse-error "invalid escape character in string"
|
||||
(parse-error (string-append
|
||||
"invalid escape character ["
|
||||
(list->string (list c))
|
||||
"] in string")
|
||||
(in-port:get-lnum ptbl)
|
||||
(in-port:get-cnum ptbl))))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue