瀏覽代碼

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 年之前
父節點
當前提交
13a4db60e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 *)