diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-05-27 08:18:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-05-27 08:18:46 -0700 |
commit | d021ddb220345dd93b251dc6ba50caf116c590c5 (patch) | |
tree | 8748e724b902cab23a2fc74aebb168e84ad74c52 /tl.vim | |
parent | 6ad1aa9978b219f34799ae9db41e20452d06145f (diff) | |
download | txr-d021ddb220345dd93b251dc6ba50caf116c590c5.tar.gz txr-d021ddb220345dd93b251dc6ba50caf116c590c5.tar.bz2 txr-d021ddb220345dd93b251dc6ba50caf116c590c5.zip |
bugfix: fatal exception on missing .txr_history.
The new abstraction layer used by linenoise throws exceptions,
but linenoise excpects a null pointer when a file open fails.
* parser.c (lino_open, lino_open8): Catch error exceptions
and convert to null return, using new macros to reduce
repetitive coding.
* unwind.h (ignerr_begin, ignerr_end): New macros.
Diffstat (limited to 'tl.vim')
0 files changed, 0 insertions, 0 deletions