diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-06-08 21:40:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-06-08 21:40:13 -0700 |
commit | faeae21c4621849e3c7e7393e504e36b54928555 (patch) | |
tree | 3bf21d39d99170288359e0ea0d83d458b8fe896f /stdlib/quips.tl | |
parent | 9a57c028f766f57e3774ec6bc18a6b4cb8680fc7 (diff) | |
download | txr-faeae21c4621849e3c7e7393e504e36b54928555.tar.gz txr-faeae21c4621849e3c7e7393e504e36b54928555.tar.bz2 txr-faeae21c4621849e3c7e7393e504e36b54928555.zip |
listener: bugfix: handle warnings around linenoise.
* parser.c (repl): Also push and pop the warning handler
around the linenoise call, like we do around evaluation.
The reason is that when the library is used in source code
form, it can generate warnings while loading. Loading can
be triggered by completion from inside linenoise. Neglecting
to handle warnings and throw a continue causes a problem
because the warnings then fall victim to the listener's
master catch. That then interferes with the load.
Diffstat (limited to 'stdlib/quips.tl')
0 files changed, 0 insertions, 0 deletions