Changeset 21 for trunk/Compiler/Produce
- Timestamp:
 - Nov 9, 2010, 2:08:55 PM (15 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/Compiler/Produce/UProducerPascal.pas (modified) (5 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Compiler/Produce/UProducerPascal.pas
r19 r21 454 454 Section: TCommonBlockSection; 455 455 begin 456 Inc(Indetation); 456 457 with CommonBlock do begin 457 458 for I := 0 to Order.Count - 1 do begin … … 459 460 if Section <> cbsType then begin 460 461 EmitLn; 462 Dec(Indetation); 461 463 EmitLn('type'); 464 Inc(Indetation); 462 465 end; 463 466 Emit(TType(Order[I]).Name + ' = '); … … 469 472 if Section <> cbsVariable then begin 470 473 EmitLn; 474 Dec(Indetation); 471 475 EmitLn('var'); 476 Inc(Indetation); 472 477 end; 473 478 GenerateVariable(TVariable(Order[I])); … … 477 482 if Section <> cbsConstant then begin 478 483 EmitLn; 484 Dec(Indetation); 479 485 EmitLn('const'); 486 Inc(Indetation); 480 487 end; 481 488 GenerateConstant(TConstant(Order[I])); … … 488 495 GenerateBeginEnd(Code); 489 496 end; 497 Dec(Indetation); 490 498 end; 491 499  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/Transpascal/chrome/site/your_project_logo.png)