summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-27 07:04:02 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-27 07:04:02 -0800
commit38d30d7ce812bcccc5de475dd272eda9fb87e579 (patch)
treea59e3b252838290bb5c4499995d4d20cc3ea67d5 /regex.c
parent472d9fe5fe1e89eaad0453830ae57ad59846cdb8 (diff)
downloadtxr-38d30d7ce812bcccc5de475dd272eda9fb87e579.tar.gz
txr-38d30d7ce812bcccc5de475dd272eda9fb87e579.tar.bz2
txr-38d30d7ce812bcccc5de475dd272eda9fb87e579.zip
case macros: bugfixes for evaluated keys.
* eval.c: Fix incorrect treatment of cases like (caseql* ((a b) ...)). The check for evaluation must come before we do the keys = car(keys) transformation. Also, hash_keys must be updated to the evaluated keys, otherwise if the hash table optimization is used, the table will contain the original expressions as the keys, not their values.
Diffstat (limited to 'regex.c')
0 files changed, 0 insertions, 0 deletions