summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-26 07:17:07 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-26 07:17:07 -0800
commit2a632dc3768f6c65abc8f33192cdcaef4c9a9571 (patch)
tree934bf55bc2702afe186ccd43d8093a3e9869e576 /ChangeLog
parent0294e98b13a70e91391952e7e24a47407e6d0508 (diff)
downloadtxr-2a632dc3768f6c65abc8f33192cdcaef4c9a9571.tar.gz
txr-2a632dc3768f6c65abc8f33192cdcaef4c9a9571.tar.bz2
txr-2a632dc3768f6c65abc8f33192cdcaef4c9a9571.zip
* eval.c (expand_op): Use rlcp_tree when constructing the
dwim_body, since the append2 copies list structure. * parser.y (n_exprs): propagate source loc info from both constituents, giving precedence to the left one, rather than just taking it from the left one and ignoring the second constituent. This fixes cases of missing location info. The left constituent n_expr is often a symbol, and those do not have location info. We want a case like like ((x) y) to take from (x), and (x (y)) to take it from (y), and so on.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 99baf5ee..0ff96251 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
2014-02-26 Kaz Kylheku <kaz@kylheku.com>
+ * eval.c (expand_op): Use rlcp_tree when constructing the
+ dwim_body, since the append2 copies list structure.
+
+ * parser.y (n_exprs): propagate source loc info from both
+ constituents, giving precedence to the left one, rather than just taking
+ it from the left one and ignoring the second constituent. This fixes
+ cases of missing location info. The left constituent n_expr is often
+ a symbol, and those do not have location info. We want a case like
+ like ((x) y) to take from (x), and (x (y)) to take it from (y),
+ and so on.
+
+2014-02-26 Kaz Kylheku <kaz@kylheku.com>
+
* parser.y (list): For @n_expr, get the source location info
from the @ token.
(n_expr): Bugfix: do not attribute a symbol with location info.