fixed the NULL checks for the incorrect ORs
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user