fixed the NULL checks for the incorrect ORs

This commit is contained in:
Partho
2025-03-31 12:32:36 -04:00
parent be311c7418
commit 0593673d89
2 changed files with 183 additions and 56 deletions

View File

@ -124,7 +124,7 @@ definition:
TYPE ID COLON {
printdebug("Currently see a record definition for %s", $<words>2);
tn = CreateEntry(getAncestor(cur), recprime, $2, CreateRecordInfo(0, cur = CreateScope(cur, 0, 0)));
if (table_lookup(getAncestor(cur), $2) == NULL) {
if (table_lookup(getAncestor(cur), $2) == undefined) {
printdebug("rec not found ");
}
}dblock { setRecSize(table_lookup(getParent(cur), $2), getRecSize(cur));