* fixed previous patch

This commit is contained in:
florian 2004-12-21 22:29:34 +00:00
parent 1c4718e15a
commit f2a74973d6

View File

@ -889,13 +889,13 @@ begin
tkObject: tkObject:
begin begin
Result := ParseClassDecl(Parent, TypeName, okObject); Result := ParseClassDecl(Parent, TypeName, okObject);
{ could be TPasClassOfType }
if result is TPasClassType then
TPasClassType(Result).IsPacked := HadPackedModifier; TPasClassType(Result).IsPacked := HadPackedModifier;
end; end;
tkClass: tkClass:
begin begin
Result := ParseClassDecl(Parent, TypeName, okClass); Result := ParseClassDecl(Parent, TypeName, okClass);
{ could be TPasClassOfType }
if result is TPasClassType then
TPasClassType(Result).IsPacked := HadPackedModifier; TPasClassType(Result).IsPacked := HadPackedModifier;
end; end;
tkInterface: tkInterface:
@ -1843,7 +1843,10 @@ end.
{ {
$Log$ $Log$
Revision 1.12 2004-12-21 22:19:16 florian Revision 1.13 2004-12-21 22:29:34 florian
* fixed previous patch
Revision 1.12 2004/12/21 22:19:16 florian
* fixed memory corruption * fixed memory corruption
Revision 1.11 2004/12/06 19:16:38 michael Revision 1.11 2004/12/06 19:16:38 michael