at-exp: use "..." for literals in error messages

Match the corresponding change in the Racket reader.
This commit is contained in:
Matthew Flatt 2018-03-01 07:00:11 -07:00
parent 57b6a1402f
commit 82d761aef0

View File

@ -354,7 +354,7 @@
(maybe-merge (make-stx (read-bytes (cdadr m) inp)) r)))]
[(*peek #rx#"^$")
(if end-token
(read-error* 'eof "missing closing `~a'" end-token)
(read-error* 'eof "missing closing `~a`" end-token)
(done-items r))]
[else (internal-error 'get-lines*)])))
@ -563,7 +563,7 @@
(lambda (char inp source-name line-num col-num position)
(let ([m (*regexp-match #rx#"^([^|]*)\\|" inp)])
(unless m
(raise-read-error "unbalanced `|'" source-name
(raise-read-error "unbalanced `|`" source-name
line-num col-num position #f))
(datum->syntax
#f (string->symbol (bytes->string/utf-8 (cadr m)))