瀏覽代碼

Patched bug when port type was used for type declaration

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6902 8c9fc860-2736-0410-a75d-ab315db34111
felixf 8 年之前
父節點
當前提交
b8c1d0413b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      source/FoxIntermediateBackend.Mod

+ 3 - 0
source/FoxIntermediateBackend.Mod

@@ -230,6 +230,9 @@ TYPE
 		PROCEDURE VisitArrayType(x: SyntaxTree.ArrayType);
 		BEGIN (* no code emission *)   END VisitArrayType;
 
+		PROCEDURE VisitPortType(x: SyntaxTree.PortType);
+		BEGIN (* no code emission *)   END VisitPortType;
+
 		PROCEDURE VisitMathArrayType(x: SyntaxTree.MathArrayType);
 		BEGIN
 			meta.CheckTypeDeclaration(x);