diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-26 07:17:07 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-26 07:17:07 -0800 |
commit | 2a632dc3768f6c65abc8f33192cdcaef4c9a9571 (patch) | |
tree | 934bf55bc2702afe186ccd43d8093a3e9869e576 /syslog.h | |
parent | 0294e98b13a70e91391952e7e24a47407e6d0508 (diff) | |
download | txr-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 'syslog.h')
0 files changed, 0 insertions, 0 deletions