Browse Source

Fixed typo

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

+ 1 - 1
source/FoxSemanticChecker.Mod

@@ -6343,7 +6343,7 @@ TYPE
 						IF ((type IS SyntaxTree.NumberType) OR (type IS SyntaxTree.AddressType) OR (type IS SyntaxTree.SizeType)) &
 							((expressionType IS SyntaxTree.NumberType) OR (expressionType IS SyntaxTree.AddressType) OR (expressionType IS SyntaxTree.SizeType)
 							OR (expressionType IS SyntaxTree.EnumerationType)
-							) OR ((type IS SyntaxTree.SetType) & (expression.type IS SyntaxTree.SetType)) THEN
+							) OR ((type IS SyntaxTree.SetType) & (expressionType IS SyntaxTree.SetType)) THEN
 							IF ((type IS SyntaxTree.AddressType) OR (type IS SyntaxTree.IntegerType) & (~type(SyntaxTree.IntegerType).signed)) & (expressionType IS SyntaxTree.FloatType) THEN
 								Error(left.position,"invalid unsigned type in explicit conversion");
 							ELSE