summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--parser.y1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0cfb1a06..4665c8ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2014-01-27 Kaz Kylheku <kaz@kylheku.com>
+ * parser.y (yybadtoken): Handle METAQUO in switch.
+
+2014-01-27 Kaz Kylheku <kaz@kylheku.com>
+
* lib.c (reduce_left, reduce_right): changing the behavior so that
the initial value is optional. this creates the possibility that
the effective list of operands is empty, in which case the function
diff --git a/parser.y b/parser.y
index be2042be..0271d38e 100644
--- a/parser.y
+++ b/parser.y
@@ -1231,6 +1231,7 @@ void yybadtoken(int tok, val context)
case LITCHAR: problem = lit("string literal character"); break;
case METAPAR: problem = lit("@("); break;
case METABKT: problem = lit("@["); break;
+ case METAQUO: problem = lit("@'"); break;
case DOTDOT: problem = lit(".."); break;
case HASH_BACKSLASH: problem = lit("#\\"); break;
case HASH_SLASH: problem = lit("#/"); break;