Ignore:
Timestamp:
Nov 9, 2010, 2:08:55 PM (13 years ago)
Author:
george
Message:
  • Modified: Project saving.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Produce/UProducerPascal.pas

    r19 r21  
    454454  Section: TCommonBlockSection;
    455455begin
     456  Inc(Indetation);
    456457  with CommonBlock do begin
    457458    for I := 0 to Order.Count - 1 do begin
     
    459460        if Section <> cbsType then begin
    460461          EmitLn;
     462          Dec(Indetation);
    461463          EmitLn('type');
     464          Inc(Indetation);
    462465        end;
    463466        Emit(TType(Order[I]).Name + ' = ');
     
    469472        if Section <> cbsVariable then begin
    470473          EmitLn;
     474          Dec(Indetation);
    471475          EmitLn('var');
     476          Inc(Indetation);
    472477        end;
    473478        GenerateVariable(TVariable(Order[I]));
     
    477482        if Section <> cbsConstant then begin
    478483          EmitLn;
     484          Dec(Indetation);
    479485          EmitLn('const');
     486          Inc(Indetation);
    480487        end;
    481488        GenerateConstant(TConstant(Order[I]));
     
    488495    GenerateBeginEnd(Code);
    489496  end;
     497  Dec(Indetation);
    490498end;
    491499
Note: See TracChangeset for help on using the changeset viewer.