diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-19 11:15:20 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-19 11:15:20 -0800 |
commit | d3ba0368d9c5012ca9405ac55a6d9a632fb0895a (patch) | |
tree | 7b6169a67d9888da1383bd10c3c626f9118ee541 | |
parent | 8a8812cda3e06312e650dcff7c1e3bb82479d20f (diff) | |
download | txr-d3ba0368d9c5012ca9405ac55a6d9a632fb0895a.tar.gz txr-d3ba0368d9c5012ca9405ac55a6d9a632fb0895a.tar.bz2 txr-d3ba0368d9c5012ca9405ac55a6d9a632fb0895a.zip |
* parser.y (yybadtoken): Use ~a to print bad character rather than #\
notation.
-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); |