mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 12:25:59 +02:00
symtable.pas, tparasymtable:
* checkduplicate: also ensure that the owner of the procdef is assigned before using it git-svn-id: trunk@31589 -
This commit is contained in:
parent
4f5fc66298
commit
6fb71e55fd
@ -2130,6 +2130,7 @@ implementation
|
|||||||
if not(m_duplicate_names in current_settings.modeswitches) and
|
if not(m_duplicate_names in current_settings.modeswitches) and
|
||||||
assigned(defowner) and (defowner.typ=procdef) and
|
assigned(defowner) and (defowner.typ=procdef) and
|
||||||
assigned(tprocdef(defowner).struct) and
|
assigned(tprocdef(defowner).struct) and
|
||||||
|
assigned(tprocdef(defowner).owner) and
|
||||||
(tprocdef(defowner).owner.defowner=tprocdef(defowner).struct) and
|
(tprocdef(defowner).owner.defowner=tprocdef(defowner).struct) and
|
||||||
(
|
(
|
||||||
not(m_delphi in current_settings.modeswitches) or
|
not(m_delphi in current_settings.modeswitches) or
|
||||||
|
Loading…
Reference in New Issue
Block a user