diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-28 08:46:40 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-28 08:46:40 -0800 |
commit | ce204c4b2f69791854717265a64ce196e3ee10cc (patch) | |
tree | 55c724d0506bf4f51998d3ff6a1510f08d7f478a | |
parent | 1727190a9cc0c0e3bf211ecb7b18e36ecc0388e6 (diff) | |
download | txr-ce204c4b2f69791854717265a64ce196e3ee10cc.tar.gz txr-ce204c4b2f69791854717265a64ce196e3ee10cc.tar.bz2 txr-ce204c4b2f69791854717265a64ce196e3ee10cc.zip |
* parser.y (quasi_item): Switch from var to o_var. This fixes
cases like `@a@(foo)@b` where foo was being translated
to (foo) rather than (sys:expr foo).
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | parser.y | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2011-12-28 Kaz Kylheku <kaz@kylheku.com> + + * parser.y (quasi_item): Switch from var to o_var. This fixes + cases like `@a@(foo)@b` where foo was being translated + to (foo) rather than (sys:expr foo). + 2011-12-27 Kaz Kylheku <kaz@kylheku.com> * mpi-patches/shrink-mpi-int (mpi_int): Fixed terrible bug in this @@ -772,7 +772,7 @@ quasi_items : quasi_item { $$ = cons($1, nil); } quasi_item : litchars { $$ = lit_char_helper($1); } | TEXT { $$ = string_own($1); } - | var { $$ = $1; } + | o_var { $$ = $1; } | list { $$ = rlcp(cons(expr_s, expand($1)), $1); } ; |