Fix cycling with -CR option

This commit is contained in:
Pierre Muller 2022-05-26 22:43:37 +02:00
parent 45bf47ee05
commit e148afd506

View File

@ -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 }