Changeset 18 for branches/Void/Generators/UPascalGenerator.pas
- Timestamp:
- Nov 10, 2009, 3:38:32 PM (15 years ago)
- Location:
- branches/Void
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Void
- Property svn:ignore
-
old new 11 11 Output.dpr 12 12 Output.exe 13 Output.asm
-
- Property svn:ignore
-
branches/Void/Generators/UPascalGenerator.pas
r16 r18 55 55 Inc(IndentCount); 56 56 for I := 0 to Variables.Count - 1 do 57 with TVariable(Variables[I])do57 with Variables[I] do 58 58 Output.Add(Indent + Name + ': ' + VarType.Name + ';'); 59 59 Dec(IndentCount); … … 63 63 Inc(IndentCount); 64 64 for I := 0 to BeginEnd.Commands.Count - 1 do 65 with TCommand(BeginEnd.Commands[I])do begin65 with BeginEnd.Commands[I] do begin 66 66 if Name = 'Assignment' then Output.Add(Indent + 67 TVariableValue(Parameters[0]).VariableDef.Name + ' := ' +67 Parameters[0].VariableDef.Name + ' := ' + 68 68 GenerateVariableValue(TVariableValue(Parameters[1])) + ';') 69 69 else begin
Note:
See TracChangeset
for help on using the changeset viewer.