summaryrefslogtreecommitdiffstats
path: root/tests/012/quasi.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-01-20 07:54:26 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-01-20 07:54:26 -0800
commitae97f00ffa51c638c269e8b3e8ee3749be20fa12 (patch)
treef852553699609a5fb8343a120867c7ba184b59c6 /tests/012/quasi.tl
parent9178717bc1f1643ccdeace628a7bf1fbcea59ce1 (diff)
downloadtxr-ae97f00ffa51c638c269e8b3e8ee3749be20fa12.tar.gz
txr-ae97f00ffa51c638c269e8b3e8ee3749be20fa12.tar.bz2
txr-ae97f00ffa51c638c269e8b3e8ee3749be20fa12.zip
matcher: bugfix and interface change in @(require).
* share/txr/stdlib/match.tl (compile-require-match): The bug here is that the condition is placed before the match.test-expr, which is incorrect. The conditions can only be evaluated if match.test-expr has succeeded, because otherwise the variables are not validated to have the correctly matching value. Also, in the documentation, the synax insinuates there can be more than one expression. So let's just make it work: require takes multiple expressions and combines them with an implicit and. * txr.1: Documentation updated.
Diffstat (limited to 'tests/012/quasi.tl')
0 files changed, 0 insertions, 0 deletions