summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-28 22:21:26 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-28 22:21:26 -0500
commit181b1256871e392da63951f82c16b4908e5b651e (patch)
tree39777eca39f15e75fad283748fe2b5082c1bbf7a /ted.h
parent9d9993607c9093bd59a02138f5e51f1c678e17e9 (diff)
on crash, output info to log
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index de4827e..adf3587 100644
--- a/ted.h
+++ b/ted.h
@@ -272,6 +272,8 @@ typedef struct Ted {
Command warn_unsaved; // if non-zero, the user is trying to execute this command, but there are unsaved changes
bool build_shown; // are we showing the build output?
bool building; // is the build process running?
+
+ FILE *log;
BuildError *build_errors; // dynamic array of build errors
u32 build_error; // build error we are currently "on"