From 8752bf5bfbb3a7902d60041c62ae4cc6450c9c0c Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Mon, 16 Jul 2018 20:32:16 -0700 Subject: [PATCH] literal string in error msg --- br-parser-tools-lib/br-parser-tools/lex.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/br-parser-tools-lib/br-parser-tools/lex.rkt b/br-parser-tools-lib/br-parser-tools/lex.rkt index d4ee03c..5bd3f87 100644 --- a/br-parser-tools-lib/br-parser-tools/lex.rkt +++ b/br-parser-tools-lib/br-parser-tools/lex.rkt @@ -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)