summaryrefslogtreecommitdiff
path: root/asmmon.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2020-05-30 12:43:08 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2020-05-30 12:43:08 -0400
commit2090a4fd8ee743b7a3095c354bb0fbc14dbb1495 (patch)
tree7d6db28a62c669959430d375308111bb3439547d /asmmon.c
parent2f9d38f9f9d6f17bc274934b23915417012eeed8 (diff)
Refactored the assembler a bit more, in order to remove
code duplication. The assembler now uses pre-tokens, which are smaller tokens, that make up the larger tokens.
Diffstat (limited to 'asmmon.c')
-rw-r--r--asmmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asmmon.c b/asmmon.c
index 840deae..f9fbd7a 100644
--- a/asmmon.c
+++ b/asmmon.c
@@ -4,6 +4,7 @@ uint16_t lineidx = 0;
uint16_t stridx = 0;
uint16_t comidx = 0;
uint16_t inc_file = 0; /* Number of included files. */
+uint16_t inc_count = 0;
uint8_t defined = 0;
@@ -307,7 +308,6 @@ int asmmon(const char *fn) {
uint8_t dbg = 0;
uint8_t isinclude = 0;
uint16_t tmp_lineidx = 0;
- uint8_t inc_count = 0;
init_symbol();
while (!done) {
char *cmd;