Add consistency checking for symbol flags

while also adding some consistency.
All listings now list . (dot) as defined so they need updating.
This commit is contained in:
Olaf Seibert
2021-05-28 22:11:34 +02:00
parent 7bbcbba5f5
commit 0ab2a4fa16
52 changed files with 235 additions and 128 deletions

View File

@@ -584,7 +584,7 @@ MACRO *new_macro(
{
MACRO *mac = memcheck(malloc(sizeof(MACRO)));
mac->sym.flags = 0;
mac->sym.flags = SYMBOLFLAG_DEFINITION;
mac->sym.label = label;
mac->sym.stmtno = stmtno;
mac->sym.next = NULL;