summaryrefslogtreecommitdiff
path: root/asmmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'asmmon.h')
-rw-r--r--asmmon.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/asmmon.h b/asmmon.h
index 7ed879b..de1f732 100644
--- a/asmmon.h
+++ b/asmmon.h
@@ -4,11 +4,11 @@
#define MAX_TOK 0x1000
-typedef struct tok token ;
-typedef struct ln line ;
-typedef struct sym symbol ;
-typedef struct fix fixup ;
-typedef struct inst instruction ;
+typedef struct tok token;
+typedef struct ln line;
+typedef struct sym symbol;
+typedef struct fix fixup;
+typedef struct inst instruction;
struct tok {
@@ -59,6 +59,7 @@ struct sym {
symbol *prev;
symbol *down;
symbol *up;
+ int depth;
uint16_t count;
uint64_t val;
uint8_t isstruct : 1;
@@ -88,6 +89,7 @@ extern symbol *locals;
extern symbol *last_loc;
extern fixup *fixups;
extern fixup *last_fix;
+extern tmp_symtab *tmp_sym_table;
extern uint8_t lex_type;