summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-28 08:46:40 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-28 08:46:40 -0800
commitce204c4b2f69791854717265a64ce196e3ee10cc (patch)
tree55c724d0506bf4f51998d3ff6a1510f08d7f478a /parser.y
parent1727190a9cc0c0e3bf211ecb7b18e36ecc0388e6 (diff)
downloadtxr-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).
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.y b/parser.y
index ba440d91..9703a078 100644
--- a/parser.y
+++ b/parser.y
@@ -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); }
;