diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-02-04 23:45:03 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-02-04 23:45:03 -0800 |
commit | 4042efd3e88ad10620e257c25080fd16a228fbf7 (patch) | |
tree | 4630b23c06624a225eb9ca8cb3c8801f70021221 /debug.h | |
parent | 022ea8cfd80b97221abfbf2ba09110c0ecef3dc6 (diff) | |
download | txr-4042efd3e88ad10620e257c25080fd16a228fbf7.tar.gz txr-4042efd3e88ad10620e257c25080fd16a228fbf7.tar.bz2 txr-4042efd3e88ad10620e257c25080fd16a228fbf7.zip |
repl: catch exceptions during completion.
This fixes the issue that TXR exits if an exception occurs
during Tab completion in the interactive listener.
This could happen when loading a file fails for whatever
reason, such as a corrupt or incomplete installation
of the library files or whatever.
* parser.c (provide_completions): Set up a catch all handler
here around everything, like we already did in provide_atom.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions