symdef.pas, tprocdef:

* don't check the type of the owner symtable if we don't have one

git-svn-id: trunk@33842 -
This commit is contained in:
svenbarth 2016-05-28 22:08:00 +00:00
parent c509036c11
commit 7c5c5d2e4b

View File

@ -5753,7 +5753,7 @@ implementation
assigned(returndef) and
not(is_void(returndef)) then
s:=s+':'+returndef.GetTypeName;
if owner.symtabletype=localsymtable then
if assigned(owner) and (owner.symtabletype=localsymtable) then
s:=s+' is nested'
else if po_is_block in procoptions then
s:=s+' is block';