summaryrefslogtreecommitdiffstats
path: root/stdlib/socket.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-06-08 21:40:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-06-08 21:40:13 -0700
commitfaeae21c4621849e3c7e7393e504e36b54928555 (patch)
tree3bf21d39d99170288359e0ea0d83d458b8fe896f /stdlib/socket.tl
parent9a57c028f766f57e3774ec6bc18a6b4cb8680fc7 (diff)
downloadtxr-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/socket.tl')
0 files changed, 0 insertions, 0 deletions