Commit 04ac0b1e authored by Kristof Szabados's avatar Kristof Szabados
Browse files

fix for bug: 564280


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 5bd7317a
...@@ -411,6 +411,8 @@ public final class For_Loop_Definitions extends Assignments implements ILocateab ...@@ -411,6 +411,8 @@ public final class For_Loop_Definitions extends Assignments implements ILocateab
final Location temporalLocation = temp.getLocation(); final Location temporalLocation = temp.getLocation();
final Location cumulativeLocation = temp.getCumulativeDefinitionLocation(); final Location cumulativeLocation = temp.getCumulativeDefinitionLocation();
if (reparser.isAffected(temporalLocation)) { if (reparser.isAffected(temporalLocation)) {
temp.updateSyntax(reparser, false);
if(!temporalLocation.equals(cumulativeLocation)) { if(!temporalLocation.equals(cumulativeLocation)) {
reparser.updateLocation(cumulativeLocation); reparser.updateLocation(cumulativeLocation);
} }
......
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