瀏覽代碼

Fix cycling with -CR option

Pierre Muller 3 年之前
父節點
當前提交
e148afd506
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/pdecl.pas

+ 1 - 1
compiler/pdecl.pas

@@ -969,7 +969,7 @@ implementation
               if (current_scanner.replay_stack_depth=0) and
                   (
                     (hdef.typ<>procvardef) or
-                    not (po_is_function_ref in tprocdef(hdef).procoptions)
+                    not (po_is_function_ref in tabstractprocdef(hdef).procoptions)
                   ) then
                 hdef.register_def;
               { KAZ: handle TGUID declaration in system unit }