Changeset 26 for trunk/Compiler/Produce/UProducerPascal.pas
- Timestamp:
- Dec 8, 2010, 10:00:30 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Produce/UProducerPascal.pas
r21 r26 137 137 with TTypeRecord(AType).CommonBlock do 138 138 for I := 0 to Variables.Count - 1 do begin 139 Emit( Variables[I].Name + ': ');140 GenerateType( Variables[I].ValueType);139 Emit(TVariable(Variables[I]).Name + ': '); 140 GenerateType(TVariable(Variables[I]).ValueType); 141 141 EmitLn(';'); 142 142 end; … … 259 259 Inc(Indetation); 260 260 for I := 0 to Constants.Count - 1 do 261 GenerateConstant( Constants[I]);261 GenerateConstant(TConstant(Constants[I])); 262 262 Dec(Indetation); 263 263 Emit('');
Note:
See TracChangeset
for help on using the changeset viewer.