working changes

This commit is contained in:
Ivan Bondarev 2023-05-03 20:06:46 +02:00
parent 7d0bb3a62d
commit 71569a0621

View file

@ -126,7 +126,8 @@ namespace PascalABCCompiler.SyntaxTree
//case repeat_node rep:
case case_node cas:
PreExitScope(st);
Current = Current.Parent;
if (Current != null)
Current = Current.Parent;
break;
}
}