Changeset 4 for trunk/Compiler/USourceCode.pas
- Timestamp:
- Nov 5, 2010, 7:24:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/USourceCode.pas
r2 r4 25 25 TVariableList = class; 26 26 TFunctionList = class; 27 T ExpressionList= class;27 TListExpression = class; 28 28 TExpression = class; 29 29 TFunction = class; … … 331 331 Value: TValue; 332 332 OperatorName: string; 333 SubItems: T ExpressionList;333 SubItems: TListExpression; 334 334 Associated: Boolean; 335 335 constructor Create; 336 336 destructor Destroy; override; 337 337 procedure Assign(Source: TExpression); 338 end;339 340 TExpressionList = class(TListExpression)341 destructor Destroy; override;342 338 end; 343 339 … … 789 785 constructor TExpression.Create; 790 786 begin 791 SubItems := T ExpressionList.Create;787 SubItems := TListExpression.Create; 792 788 SubItems.Count := 2; 793 789 SubItems.OwnsObjects := False; … … 810 806 Variable := Source.Variable; 811 807 SubItems.Assign(Source.SubItems); 812 end;813 814 { TExpressionList }815 816 destructor TExpressionList.Destroy;817 begin818 inherited;819 808 end; 820 809
Note:
See TracChangeset
for help on using the changeset viewer.