浏览代码

synchronized with original

Alexander Shiryaev 9 年之前
父节点
当前提交
7b60526d44
共有 3 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      BlackBox/Po/Files/ORP.Mod.txt
  2. 二进制
      BlackBox/Po/Mod/ORP.odc
  3. 二进制
      BlackBox/Po/Mod/ORP3.odc

+ 2 - 2
BlackBox/Po/Files/ORP.Mod.txt

@@ -784,8 +784,8 @@ MODULE ORP; (*N. Wirth 1.7.97 / 1.5.2016  Oberon compiler for RISC in Oberon-07*
       x: ORG.Item; tp: ORB.Type; ptbase: PtrBase;
       x: ORG.Item; tp: ORB.Type; ptbase: PtrBase;
       expo: BOOLEAN; id: ORS.Ident;
       expo: BOOLEAN; id: ORS.Ident;
   BEGIN (*sync*) pbsList := NIL;
   BEGIN (*sync*) pbsList := NIL;
-    IF (sym < ORS.const) & (sym # ORS.end) THEN ORS.Mark("declaration?");
-      REPEAT ORS.Get(sym) UNTIL (sym >= ORS.const) OR (sym = ORS.end)
+    IF (sym < ORS.const) & (sym # ORS.end) & (sym # ORS.return) THEN ORS.Mark("declaration?");
+      REPEAT ORS.Get(sym) UNTIL (sym >= ORS.const) OR (sym = ORS.end) OR (sym = ORS.return)
     END ;
     END ;
     IF sym = ORS.const THEN
     IF sym = ORS.const THEN
       ORS.Get(sym);
       ORS.Get(sym);

二进制
BlackBox/Po/Mod/ORP.odc


二进制
BlackBox/Po/Mod/ORP3.odc