diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-06-20 04:41:58 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-06-20 04:41:58 +0200 |
commit | c0ca99483c1c0966305ced16a9a7e00e4c5ecce0 (patch) | |
tree | 227e4aa7ff05c7d17db66d649b0783476e083fa7 /kernel/log.h | |
parent | f6421c83a28f0db29fd80ad2b2fbc59f6b1ccace (diff) | |
download | yosys-c0ca99483c1c0966305ced16a9a7e00e4c5ecce0.tar.gz yosys-c0ca99483c1c0966305ced16a9a7e00e4c5ecce0.tar.bz2 yosys-c0ca99483c1c0966305ced16a9a7e00e4c5ecce0.zip |
Store command history when terminating with an error
Diffstat (limited to 'kernel/log.h')
-rw-r--r-- | kernel/log.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h index 34c309016..6cae4431d 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -60,6 +60,7 @@ extern bool log_cmd_error_throw; extern bool log_quiet_warnings; extern int log_verbose_level; extern string log_last_error; +extern void (*log_error_atexit)(); void logv(const char *format, va_list ap); void logv_header(RTLIL::Design *design, const char *format, va_list ap); |