浏览代码

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 6 年之前
父节点
当前提交
30677b8e84
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;