Ignore:
Timestamp:
Aug 10, 2010, 11:54:18 AM (14 years ago)
Author:
george
Message:

Added support for multiple source files and compilations for multiple modules in Project.pas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DelphiToC/Produce/UProducerC.pas

    r53 r54  
    3838    IndentationLength: Integer;
    3939    Indetation: Integer;
    40     procedure Produce; override;
     40    procedure Produce(Module: TModule; ProducedCode: TStringList); override;
    4141    constructor Create;
    4242    destructor Destroy; override;
     
    119119end;
    120120
    121 procedure TProducerC.Produce;
     121procedure TProducerC.Produce(Module: TModule; ProducedCode: TStringList);
    122122begin
    123123  inherited;
    124124  TextSource.Clear;
    125   GenerateProgram(ProgramCode);
     125  GenerateModule(Module);
    126126end;
    127127
Note: See TracChangeset for help on using the changeset viewer.