Browse Source

removed not yet supported statement block scope

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8491 8c9fc860-2736-0410-a75d-ab315db34111
felixf 6 năm trước cách đây
mục cha
commit
13a4db60e7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/FoxSemanticChecker.Mod

+ 1 - 1
source/FoxSemanticChecker.Mod

@@ -7356,7 +7356,7 @@ TYPE
 		VAR recentExclusive, recentUnreachable, recentRealtime: BOOLEAN; recentScope: SyntaxTree.Scope;
 		BEGIN
 			recentScope := currentScope;
-			IF statementBlock.scope # NIL THEN currentScope := statementBlock.scope END;
+			(* IF statementBlock.scope # NIL THEN currentScope := statementBlock.scope END;*)
 			BlockFlags(statementBlock);
 			IF statementBlock.isExclusive THEN
 				(* check that not in exclusive block *)