what xola asked
This commit is contained in:
parent
8136db2cc6
commit
5ac9e9a3f9
@ -18,7 +18,7 @@
|
||||
|
||||
unsigned long long anon_variable_counter = 0;
|
||||
|
||||
static unsigned symbol_id = 0;
|
||||
static unsigned symbol_id = 1;
|
||||
tommy_hashtable symbol_table;
|
||||
|
||||
int has_encountered_error = 0;
|
||||
|
@ -111,6 +111,7 @@ program_head: program_specifier PROGRAM IDENTIFIER {
|
||||
YYERROR;
|
||||
}
|
||||
is_program_found = 1;
|
||||
append_instructions(ASMDIRMEM, 0);
|
||||
scope = $3; // !!! IF WE START USING THE REFERENCE OF $3 THIS WILL DOUBLE FREE
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user