summaryrefslogtreecommitdiffstats
path: root/linenoise/LICENSE
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-14 06:53:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-14 06:53:20 -0700
commitdb4cab95813e28e95d76a55b1f2c032521d92c86 (patch)
tree11b12cf848bcbf1589b608bd0c78e8692b42928d /linenoise/LICENSE
parenta506664be6f93a51152cb7c25fad1f9466ebc78c (diff)
downloadtxr-db4cab95813e28e95d76a55b1f2c032521d92c86.tar.gz
txr-db4cab95813e28e95d76a55b1f2c032521d92c86.tar.bz2
txr-db4cab95813e28e95d76a55b1f2c032521d92c86.zip
load: release warnings before throwing exception.
* eval.c (load): When we parse TXR code, let's not release warnings unconditionally. Let's do that when throwing an exception though due to parse errors. If the load is not recursed it will release warnings at the bottom of the function. * match.c (v_load): Consistently with load, release deferred warnings if throwing exception due to the parse having failed.
Diffstat (limited to 'linenoise/LICENSE')
0 files changed, 0 insertions, 0 deletions