diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-04-30 06:15:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-04-30 06:15:39 -0700 |
commit | 37c08311602c95f7f2f0fb40d33783c78a3b0d62 (patch) | |
tree | 6284091b44f997d21353c703d6cba931bbc3e95b /ChangeLog | |
parent | 2d76c83d30eeabf0b781c85e4ae21bdc6f0b012b (diff) | |
download | txr-37c08311602c95f7f2f0fb40d33783c78a3b0d62.tar.gz txr-37c08311602c95f7f2f0fb40d33783c78a3b0d62.tar.bz2 txr-37c08311602c95f7f2f0fb40d33783c78a3b0d62.zip |
Fix source location for dangling unquotes and splices.
* parser.y (grammar): Propagate the parser line number to the unquote
or splice form, if it has not received location info from its operand
(because its operand is an atom). In the quasi_item case, we also use
rlcp_tree to make sure the info is propagated through the list being
consed up.
(rlcp_tree): Bugfix: propagate the source location info to every cons
in the list itself, not just into their cars.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2015-04-30 Kaz Kylheku <kaz@kylheku.com> + + Fix source location for dangling unquotes and splices. + + * parser.y (grammar): Propagate the parser line number to the unquote + or splice form, if it has not received location info from its operand + (because its operand is an atom). In the quasi_item case, we also use + rlcp_tree to make sure the info is propagated through the list being + consed up. + (rlcp_tree): Bugfix: propagate the source location info to every cons + in the list itself, not just into their cars. + 2015-04-29 Kaz Kylheku <kaz@kylheku.com> Improved syntax checking: defun, flet, labels, lambda. |