diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-01-27 20:49:30 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-01-27 20:49:30 -0800 |
commit | 05c9d8a60d75f58655b75f2fda3f2696a56637e6 (patch) | |
tree | aa4c59529bf9e7bfbdf90264954e3cc64c503864 | |
parent | 857dda93d112fdd5e776f5dce2bbfc8a51704b2a (diff) | |
download | txr-05c9d8a60d75f58655b75f2fda3f2696a56637e6.tar.gz txr-05c9d8a60d75f58655b75f2fda3f2696a56637e6.tar.bz2 txr-05c9d8a60d75f58655b75f2fda3f2696a56637e6.zip |
* parser.y (yybadtoken): Handle METAQUO in switch.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | parser.y | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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 @@ -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; |