Changeset 98 for branches/interpreter/Parser3.pas
- Timestamp:
- Feb 3, 2017, 10:48:19 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/interpreter/Parser3.pas
r97 r98 409 409 begin 410 410 SetLength(ProgramCode^.Types.Items, 0); 411 ProgramCode^.Types.Add(TypeCreate('string' ));411 ProgramCode^.Types.Add(TypeCreate('string', btInteger)); 412 412 TypeString := ProgramCode^.Types.GetLast; 413 ProgramCode^.Types.Add(TypeCreate('Boolean' ));413 ProgramCode^.Types.Add(TypeCreate('Boolean', btBoolean)); 414 414 TypeBoolean := ProgramCode^.Types.GetLast; 415 ProgramCode^.Types.Add(TypeCreate('Integer' ));415 ProgramCode^.Types.Add(TypeCreate('Integer', btInteger)); 416 416 TypeInteger := ProgramCode^.Types.GetLast; 417 ProgramCode^.Types.Add(TypeCreate('Char' ));417 ProgramCode^.Types.Add(TypeCreate('Char', btChar)); 418 418 TypeChar := ProgramCode^.Types.GetLast; 419 ProgramCode^.Types.Add(TypeCreate('Array' ));419 ProgramCode^.Types.Add(TypeCreate('Array', btArray)); 420 420 TypeArray := ProgramCode^.Types.GetLast; 421 421
Note:
See TracChangeset
for help on using the changeset viewer.