ソースを参照

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 }