summaryrefslogtreecommitdiffstats
path: root/tests/006
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-08 07:06:30 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-08 07:06:30 -0800
commitc8d581648431d6df4cc1db9e87a1ad1306aeddb8 (patch)
tree52d1630fe483601db7bce3b8dd9ddcb097974625 /tests/006
parentde6ced80888ed410aa96729879921b5dc5066a51 (diff)
downloadtxr-c8d581648431d6df4cc1db9e87a1ad1306aeddb8.tar.gz
txr-c8d581648431d6df4cc1db9e87a1ad1306aeddb8.tar.bz2
txr-c8d581648431d6df4cc1db9e87a1ad1306aeddb8.zip
matcher: fix backreferencing in predicate.
* share/txr/stdlib/match.tl (compile-predicate-match): Always allocate res-var as a gensym; do not use resvar. Otherwise we will freshly bind resvar as a local, failing to back-reference. * tests/011/patmatch.tl: Add test cases, the second of which fails before this change.
Diffstat (limited to 'tests/006')
0 files changed, 0 insertions, 0 deletions