Commit b52c2218 authored by Miklos Magyari's avatar Miklos Magyari Committed by Adam Knapp

OOP: temporary null check until class type is not fully implemented

Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent e2fa92cb
......@@ -7706,12 +7706,14 @@ pr_Primary returns[Value value]
applyFound = true;
}
)+
| { if(temporalReference.getSubreferences().size() == 1 && temporalReference.getModuleIdentifier() == null) {
$value = new Undefined_LowerIdentifier_Value(temporalReference.getId());
} else {
$value = new Referenced_Value(temporalReference);
| { if (temporalReference != null) { // OOP: temporary null check until class type is fully implemented
if (temporalReference.getSubreferences().size() == 1 && temporalReference.getModuleIdentifier() == null) {
$value = new Undefined_LowerIdentifier_Value(temporalReference.getId());
} else {
$value = new Referenced_Value(temporalReference);
}
$value.setLocation(temporalReference.getLocation());
}
$value.setLocation(temporalReference.getLocation());
}
)
( pr_Dot
......
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