summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index 8e268d3..516b7fc 100644
--- a/src/state.h
+++ b/src/state.h
@@ -6,13 +6,14 @@
#include <stdbool.h>
#include <stddef.h>
+#include <stdio.h>
// All states of the compiler instance
typedef struct CcmmcState_struct {
CcmmcAst *ast;
CcmmcSymbolTable *table;
size_t line_number;
- bool any_error;
+ FILE *asm_output;
} CcmmcState;
void ccmmc_state_init (CcmmcState *state);