summaryrefslogtreecommitdiffstats
path: root/filter.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-02-22 16:34:51 -0800
committerKaz Kylheku <kaz@kylheku.com>2021-02-22 16:34:51 -0800
commit77791d10d0143c991262697e099efc2db1a7f4a1 (patch)
tree1b092914dd66317fdffe3bdcc2f095b8686a5939 /filter.c
parentf526353736b4fa30115ee6cf64142bdad794e4c9 (diff)
downloadtxr-77791d10d0143c991262697e099efc2db1a7f4a1.tar.gz
txr-77791d10d0143c991262697e099efc2db1a7f4a1.tar.bz2
txr-77791d10d0143c991262697e099efc2db1a7f4a1.zip
txr: tighten keyword arg parsing in @(next).
This fixes the bug of not allowing @(next :list nil). Also the bug of @(next :string) or @(next :string nil) reporting a nonsensical error message, instead of correctly complaining that nil isn't a string. * match.c (v_next_impl): Capture the conses returned by assoc, so we know whether a keyword is present. Then use those conses in tests which detect whether the keyword is present, rather than the values, which could be nil.
Diffstat (limited to 'filter.c')
0 files changed, 0 insertions, 0 deletions