diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-11-24 08:20:45 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-11-24 08:20:45 -0800 |
commit | 88e3db0abbde783bfa57f5bce2d792b5dbac6ead (patch) | |
tree | 48dceda1ad381631f7908e37507f471c24e262d8 | |
parent | 018d7b2e1e18436e559bf15b0839a7236b6ff975 (diff) | |
download | txr-88e3db0abbde783bfa57f5bce2d792b5dbac6ead.tar.gz txr-88e3db0abbde783bfa57f5bce2d792b5dbac6ead.tar.bz2 txr-88e3db0abbde783bfa57f5bce2d792b5dbac6ead.zip |
* parser.y (texts, elem): Fixed incorrect use of rl rather
than rlcp. Added forgotten rlcp on result of optimize_text.
* RELNOTES: Updated.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | RELNOTES | 9 | ||||
-rw-r--r-- | parser.y | 8 |
3 files changed, 20 insertions, 4 deletions
@@ -1,3 +1,10 @@ +2011-11-24 Kaz Kylheku <kaz@kylheku.com> + + * parser.y (texts, elem): Fixed incorrect use of rl rather + than rlcp. Added forgotten rlcp on result of optimize_text. + + * RELNOTES: Updated. + 2011-11-20 Kaz Kylheku <kaz@kylheku.com> Version 043 @@ -1,3 +1,12 @@ + TXR 044 + 201?-??-?? + + Bugs + + - Fixed regression in source location tracking (line numbers + shown in debugger and trace output). + + TXR 043 2011-11-23 @@ -283,12 +283,12 @@ text : TEXT { $$ = rl(string_own($1), num(lineno)); } rl($$, num(lineno)); } ; -texts : text %prec LOW { $$ = rl(cons($1, nil), $1); } - | text texts { $$ = rl(cons($1, $2), $2); } +texts : text %prec LOW { $$ = rlcp(cons($1, nil), $1); } + | text texts { $$ = rlcp(cons($1, $2), $2); } ; -elem : texts { $$ = rl(cons(text_s, $1), $1); - $$ = optimize_text($$); } +elem : texts { $$ = rlcp(cons(text_s, $1), $1); + $$ = rlcp(optimize_text($$), $$); } | var { $$ = rl($1, num(lineno)); } | list { $$ = $1; } | COLL exprs_opt ')' elems END { $$ = list(coll_s, $4, nil, $2, nao); |