literal string in error msg

pull/5/head
Matthew Butterick 6 years ago
parent aa5b074719
commit 8752bf5bfb

@ -287,7 +287,7 @@
(define match (read-string length lb))
(define end-pos (get-position lb))
(raise-read-error
(format "lexer: No match found in input starting with: ~a" match)
(format "lexer: No match found in input starting with: ~v" match)
(file-path)
(position-line first-pos)
(position-col first-pos)

Loading…
Cancel
Save