mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 20:29:17 +02:00
* don't try to generate rtti if the type has an error
git-svn-id: trunk@5271 -
This commit is contained in:
parent
a6a300cbbe
commit
99309202bc
@ -553,9 +553,10 @@ implementation
|
|||||||
hdef.typesym:=newtype;
|
hdef.typesym:=newtype;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Write tables if we are the typesym that defines
|
{ Write tables if there are no errors and we are the typesym that
|
||||||
this type. This will not be done for simple type renamings }
|
defines this type, so this will not be done for simple type renamings }
|
||||||
if (hdef.typesym=newtype) then
|
if (hdef.typ<>errordef) and
|
||||||
|
(hdef.typesym=newtype) then
|
||||||
begin
|
begin
|
||||||
{ file position }
|
{ file position }
|
||||||
oldfilepos:=current_filepos;
|
oldfilepos:=current_filepos;
|
||||||
|
Loading…
Reference in New Issue
Block a user