mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-01 01:39:15 +02:00
* fixed object(unknown) crash
This commit is contained in:
parent
1e126715b8
commit
309ac0b4cb
@ -1156,11 +1156,14 @@ unit pdecl;
|
||||
begin
|
||||
Message(type_e_class_type_expected);
|
||||
childof:=nil;
|
||||
end;
|
||||
end
|
||||
else
|
||||
begin
|
||||
{ a mix of class and object isn't allowed }
|
||||
if (((childof^.options and oo_is_class)<>0) and not is_a_class) or
|
||||
(((childof^.options and oo_is_class)=0) and is_a_class) then
|
||||
Message(parser_e_mix_of_classes_and_objects);
|
||||
end;
|
||||
if assigned(fd) then
|
||||
begin
|
||||
{ the forward of the child must be resolved to get
|
||||
@ -2078,7 +2081,10 @@ unit pdecl;
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.73 1998-10-19 08:54:56 pierre
|
||||
Revision 1.74 1998-10-20 13:09:13 peter
|
||||
* fixed object(unknown) crash
|
||||
|
||||
Revision 1.73 1998/10/19 08:54:56 pierre
|
||||
* wrong stabs info corrected once again !!
|
||||
+ variable vmt offset with vmt field only if required
|
||||
implemented now !!!
|
||||
|
Loading…
Reference in New Issue
Block a user