summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index bab1460f..416ab46e 100644
--- a/parser.y
+++ b/parser.y
@@ -952,7 +952,7 @@ void yybadtoken(int tok, val context)
if (tok == YYEOF || tok == YYEMPTY)
yyerrorf(lit("unterminated ~a"), context, nao);
else
- yyerrorf(lit("misplaced ~s in ~a"), chr(tok), context, nao);
+ yyerrorf(lit("misplaced character ~a in ~a"), chr(tok), context, nao);
else
if (tok == YYEOF)
yyerrorf(lit("unexpected end of input"), nao);