diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | parser.y | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2011-11-19 Kaz Kylheku <kaz@kylheku.com> + + * parser.y (yybadtoken): Use ~a to print bad character rather than #\ + notation. + 2011-11-18 Kaz Kylheku <kaz@kylheku.com> * parser.y: Regression IDENT, '{' and '}' @@ -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); |