* ppudump: Fixed json and xml output of inline types in array declaration.

git-svn-id: trunk@26277 -
This commit is contained in:
yury 2013-12-24 12:32:55 +00:00
parent af49e50a3c
commit eea69a2947
2 changed files with 3 additions and 2 deletions

View File

@ -2824,7 +2824,7 @@ begin
writeln([space,' Range : ',arrdef.RangeLow,' to ',arrdef.RangeHigh]);
write ([space,' Options : ']);
readarraydefoptions(arrdef);
readsymtable('symbols');
readsymtable('symbols', arrdef);
end;
ibprocdef :

View File

@ -319,7 +319,7 @@ type
TPpuArrayOptions = set of TPpuArrayOption;
{ TPpuArrayDef }
TPpuArrayDef = class(TPpuDef)
TPpuArrayDef = class(TPpuContainerDef)
protected
procedure WriteDef(Output: TPpuOutput); override;
public
@ -760,6 +760,7 @@ end;
constructor TPpuArrayDef.Create(AParent: TPpuContainerDef);
begin
inherited Create(AParent);
ItemsName:='Types';
DefType:=dtArray;
ElType:=TPpuRef.Create;
RangeType:=TPpuRef.Create;