|
@@ -92,6 +92,9 @@ implementation
|
|
if is_javaclass(obj) then
|
|
if is_javaclass(obj) then
|
|
begin
|
|
begin
|
|
pd:=nil;
|
|
pd:=nil;
|
|
|
|
+ { childof may not be assigned in case of a parser error }
|
|
|
|
+ if not assigned(tobjectdef(obj).childof) then
|
|
|
|
+ exit;
|
|
sym:=tsym(tobjectdef(obj).childof.symtable.find('CREATE'));
|
|
sym:=tsym(tobjectdef(obj).childof.symtable.find('CREATE'));
|
|
if assigned(sym) and
|
|
if assigned(sym) and
|
|
(sym.typ=procsym) then
|
|
(sym.typ=procsym) then
|