summaryrefslogtreecommitdiffstats
path: root/txr.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-30 06:15:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-30 06:15:39 -0700
commit37c08311602c95f7f2f0fb40d33783c78a3b0d62 (patch)
tree6284091b44f997d21353c703d6cba931bbc3e95b /txr.c
parent2d76c83d30eeabf0b781c85e4ae21bdc6f0b012b (diff)
downloadtxr-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 'txr.c')
0 files changed, 0 insertions, 0 deletions