diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-02 20:38:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-02 20:38:36 -0700 |
commit | d1a8b58b39e131df4a9fdc748cda449c0447bd19 (patch) | |
tree | 8dfb4ba6b1ca6eedc3ea533dcc7b08bdf0f668ec /parser.y | |
parent | 9adcae67bcac0f5d2d109e8921444517a1fb15b3 (diff) | |
download | txr-d1a8b58b39e131df4a9fdc748cda449c0447bd19.tar.gz txr-d1a8b58b39e131df4a9fdc748cda449c0447bd19.tar.bz2 txr-d1a8b58b39e131df4a9fdc748cda449c0447bd19.zip |
* parser.y (rep_elem): Bugfix: forgotten o_elems_transform ontxr-038
syntax tree of o_elems constituent, leading to problems with
consecutive variables in a @(rep).
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -420,7 +420,9 @@ o_elem : TEXT { $$ = string_own($1); } ; rep_elem : REP o_elems - rep_parts_opt END { $$ = repeat_rep_helper(rep_s, $2, $3); } + rep_parts_opt END { $$ = repeat_rep_helper(rep_s, + o_elems_transform($2), + $3); } | REP error { $$ = nil; yybadtoken(yychar, lit("rep clause")); } ; |