Changeset 18 for branches/Void/Generators/UCGenerator.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/UCGenerator.pas
r16 r18 70 70 // Variable section 71 71 for I := 0 to Variables.Count - 1 do 72 with TVariable(Variables[I])do72 with Variables[I] do 73 73 Output.Add(Indent + ConvertType(VarType.Name) + ' ' + Name + ';'); 74 74 if Variables.Count > 0 then Output.Add(''); … … 76 76 // Code block 77 77 for I := 0 to BeginEnd.Commands.Count - 1 do 78 with TCommand(BeginEnd.Commands[I])do begin78 with BeginEnd.Commands[I] do begin 79 79 if Name = 'Assignment' then Output.Add(Indent + 80 TVariableValue(Parameters[0]).VariableDef.Name + ' = ' +80 Parameters[0].VariableDef.Name + ' = ' + 81 81 GenerateVariableValue(TVariableValue(Parameters[1])) + ';') 82 82 else begin
Note:
See TracChangeset
for help on using the changeset viewer.