summaryrefslogtreecommitdiffstats
path: root/tests/008/soundex.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-16 00:59:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-16 00:59:47 -0800
commitb68fb2aad15663edfe7c3671c97bd85bc531c565 (patch)
treec2a0446e7a38a1921a1f837ec6f001203a2a3342 /tests/008/soundex.expected
parentced323fff8f93bffe0666eba6e498b113aa3bd0a (diff)
downloadtxr-b68fb2aad15663edfe7c3671c97bd85bc531c565.tar.gz
txr-b68fb2aad15663edfe7c3671c97bd85bc531c565.tar.bz2
txr-b68fb2aad15663edfe7c3671c97bd85bc531c565.zip
Nice idea: how about a function which walks the tree structure and
back-fills some missing source code location info. We apply this to macro expansions. If some error occurs in expanded code, this way it is referenced to the line where the macro *call* occurs. Not only is this better than nothing, it may be better than tracing it to the macro definition. Ideally, we would have both places: ("the error is in the code expanded from this macro, at this site"). * eval.c (expand): Use rlcp_tree to back-fill source info in macro expansion by taking it from the unexpanded form. * parser.h (rlcp_tree): Declared. * parser.y (rlcp_tree): New function.
Diffstat (limited to 'tests/008/soundex.expected')
0 files changed, 0 insertions, 0 deletions