Changeset 68 for branches/Transpascal/Compiler/USourceCode.pas
- Timestamp:
- Oct 18, 2010, 2:14:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Compiler/USourceCode.pas
r65 r68 15 15 16 16 TNodeType = (ntNone, ntVariable, ntFunction, ntConstant, ntOperator); 17 18 TTypeVisibility = (tvPublic, tvPublished, tvPrivate, tvProtected); 17 19 18 20 TValue = Variant; //array of Byte; … … 156 158 Size: Integer; 157 159 UsedType: TType; 160 Visibility: TTypeVisibility; 158 161 end; 159 162 … … 162 165 163 166 TTypeRecord = class(TType) 164 Items: TObjectList; // TObjectList<TType>167 CommonBlock: TCommonBlock; 165 168 constructor Create; 166 169 destructor Destroy; override; … … 714 717 begin 715 718 inherited; 716 Items := TObjectList.Create;719 CommonBlock := TCommonBlock.Create; 717 720 end; 718 721 719 722 destructor TTypeRecord.Destroy; 720 723 begin 721 Items.Free;724 CommonBlock.Free; 722 725 inherited Destroy; 723 726 end;
Note:
See TracChangeset
for help on using the changeset viewer.