Changeset 205 for branches/interpreter2/USource.pas
- Timestamp:
- Apr 20, 2020, 1:10:44 AM (5 years ago)
- Location:
- branches/interpreter2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/interpreter2
- Property svn:ignore
-
old new 4 4 interpreter.res 5 5 heaptrclog.trc 6 Generated
-
- Property svn:ignore
-
branches/interpreter2/USource.pas
r204 r205 117 117 end; 118 118 119 TCommands = class(TObjectList) 120 end; 121 119 122 { TFunctionCall } 120 123 … … 129 132 130 133 TBeginEnd = class(TCommand) 131 Commands: T ObjectList;134 Commands: TCommands; 132 135 procedure Clear; 133 136 constructor Create; … … 197 200 Expression: TExpression; 198 201 Command: TCommand; 202 constructor Create; 203 destructor Destroy; override; 204 end; 205 206 { TRepeatUntil } 207 208 TRepeatUntil = class(TCommand) 209 Expression: TExpression; 210 Commands: TCommands; 199 211 constructor Create; 200 212 destructor Destroy; override; … … 243 255 implementation 244 256 257 { TRepeatUntil } 258 259 constructor TRepeatUntil.Create; 260 begin 261 Expression := TExpression.Create; 262 Commands := TCommands.Create; 263 end; 264 265 destructor TRepeatUntil.Destroy; 266 begin 267 Expression.Free; 268 Commands.Free; 269 inherited Destroy; 270 end; 271 245 272 { TValueBoolean } 246 273 … … 579 606 constructor TBeginEnd.Create; 580 607 begin 581 Commands := T ObjectList.Create;608 Commands := TCommands.Create; 582 609 end; 583 610
Note:
See TracChangeset
for help on using the changeset viewer.