Temp symbols are defined, so flag them as such.

This commit is contained in:
Olaf Seibert 2021-11-14 23:14:21 +01:00
parent 16b884a744
commit 08c6254bdd

View File

@ -183,7 +183,7 @@ static EX_TREE *new_temp_sym(
sym = memcheck(malloc(sizeof(SYMBOL)));
sym->label = memcheck(strdup(label));
sym->flags = 0;
sym->flags = SYMBOLFLAG_DEFINITION;
sym->stmtno = stmtno;
sym->next = NULL;
sym->section = section;