Ver Fonte

use LONGINT instead of WORD because not compilable if we uses special type for result/programm status( not WORD ) - really local variable 'res' is not used for a status

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8460 8c9fc860-2736-0410-a75d-ab315db34111
eth.metacore há 6 anos atrás
pai
commit
30677b8e84
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      source/FoxSyntaxTree.Mod

+ 2 - 2
source/FoxSyntaxTree.Mod

@@ -1540,8 +1540,8 @@ TYPE
 		BEGIN SELF.isProtected := protected
 		END SetProtected;
 
-		PROCEDURE Level*():LONGINT;
-		VAR type: RecordType; res: WORD;
+		PROCEDURE Level*(): LONGINT;
+		VAR type: RecordType; res: LONGINT;
 		BEGIN
 			type := SELF;
 			res := 0;