correct syntax error message for #\c unescaping
This commit is contained in:
committed by
Stas Boukarev
parent
fc2e28dcce
commit
e11d9b6032
@ -241,7 +241,7 @@ handled elsewhere."
|
|||||||
;; \cx means control-x in Perl
|
;; \cx means control-x in Perl
|
||||||
(let ((next-char (next-char-non-extended lexer)))
|
(let ((next-char (next-char-non-extended lexer)))
|
||||||
(unless next-char
|
(unless next-char
|
||||||
(signal-syntax-error* (lexer-pos lexer) "Character missing after '\\c' at position ~A."))
|
(signal-syntax-error* (lexer-pos lexer) "Character missing after '\\c'"))
|
||||||
(code-char (logxor #x40 (char-code (char-upcase next-char))))))
|
(code-char (logxor #x40 (char-code (char-upcase next-char))))))
|
||||||
((#\x)
|
((#\x)
|
||||||
;; \x should be followed by a hexadecimal char code,
|
;; \x should be followed by a hexadecimal char code,
|
||||||
|
|||||||
Reference in New Issue
Block a user