浏览代码

reverse order of linking for FINAL procedures
- INITIAL: first linked, first executed
- FINAL: first linked, last executed

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8349 8c9fc860-2736-0410-a75d-ab315db34111

eth.morozova 6 年之前
父节点
当前提交
4781cc8787
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/GenericLinker.Mod

+ 1 - 1
source/GenericLinker.Mod

@@ -221,7 +221,7 @@ VAR
 	BEGIN
 		leftType := this.priority;
 		rightType := that.priority;
-		RETURN (leftType < rightType)
+		RETURN (leftType < rightType) OR (leftType = rightType) & (leftType = ExitCode)
 	END Precedes;