Commit 61e995fb authored by John van Groningen's avatar John van Groningen

generate an eval_fill call as ea entry for lazy record selectors

with state LazyRedirection (field with type a or (a ..))
parent 1ba7cd44
......@@ -1009,7 +1009,7 @@ static void GenLazyFieldSelectorEntry (SymbDef field_def,StateS recstate,int tot
ea_label_p=&newealab;
} else
ea_label_p=&ealab;
} else if (field_def->sdef_returnsnode)
} else if (field_def->sdef_returnsnode || (IsSimpleState (demfieldstate) && demfieldstate.state_kind==LazyRedirection))
ea_label_p=&empty_lab;
else
ea_label_p=NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment