summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2009-11-24 13:36:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2009-11-24 13:36:01 -0800
commitc542db95be66e6db56dba1c54551ffca9afdf584 (patch)
treebf7f2a2d2031ef88bd75f1a019f8069da5b49761 /parser.l
parent9e929c272579ad369b52c4a14f21895017e69176 (diff)
downloadtxr-c542db95be66e6db56dba1c54551ffca9afdf584.tar.gz
txr-c542db95be66e6db56dba1c54551ffca9afdf584.tar.bz2
txr-c542db95be66e6db56dba1c54551ffca9afdf584.zip
Fixed broken yyerrorf. It was still taking char *, and passing
that as an object to vformat, resulting in #<garbage: ...> output.
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.l b/parser.l
index 433c0489..5a55115d 100644
--- a/parser.l
+++ b/parser.l
@@ -85,7 +85,7 @@ void yyerrorf(val fmt, ...)
errors++;
}
-void yybadtoken(int tok, const char *context)
+void yybadtoken(int tok, val context)
{
val problem = nil;