Browse Source

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 years ago
parent
commit
b8c1d0413b
1 changed files with 3 additions and 0 deletions
  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);