summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-16 06:02:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-16 06:02:47 -0800
commit2bc41c8920513856daa73018e6b9f9c54f456fe2 (patch)
tree7fa96ec4b7f9cb26f9220cb2f06cd2876967bedc /parser.y
parent21f9fb76746b1513e483a5a18b2e38e835b367a3 (diff)
downloadtxr-2bc41c8920513856daa73018e6b9f9c54f456fe2.tar.gz
txr-2bc41c8920513856daa73018e6b9f9c54f456fe2.tar.bz2
txr-2bc41c8920513856daa73018e6b9f9c54f456fe2.zip
bugfix: nil from in replace wrongly treated as 0.
* lib.c (replace_list, replace_str, replace_vec): The from argument must be checked to be a list using listp not consp. The legacy convention that nil is treated as missing does not work in this function as it does in sub.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions