Changeset 77 for trunk/IDE/Core.pas


Ignore:
Timestamp:
Jun 4, 2024, 9:53:17 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Compiler targets moved into modules.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Core.pas

    r75 r77  
    6262  Core: TCore;
    6363
     64
    6465implementation
    6566
     
    6869uses
    6970  FormMain, ProjectTemplates, IDEModulePascal, ModulePascal, ModuleGCC,
    70   ModuleInterpretter, ModuleDelphi, ModulePHP, ModuleJava, ModuleASM8051;
     71  ModuleInterpretter, ModuleDelphi, ModulePHP, ModuleJava, ModuleASM8051,
     72  ModuleXML, ModuleNASM;
    7173
    7274{ TCore }
     
    216218    RegisterModule(TModuleJava.Create(nil));
    217219    RegisterModule(TModuleASM8051.Create(nil));
    218     //RegisterModule(TModuleXML.Create(nil));
    219     //RegisterModule(TModuleNASM.Create(nil));
     220    RegisterModule(TModuleXML.Create(nil));
     221    RegisterModule(TModuleNASM.Create(nil));
    220222    Modules.Perform(maEnable);
    221223    Modules.Perform(maStart);
     
    350352destructor TCustomCompiler.Destroy;
    351353begin
    352   TargetFiles.Free;
    353   SourceFiles.Free;
    354   inherited Destroy;
    355 end;
    356 
     354  FreeAndNil(TargetFiles);
     355  FreeAndNil(SourceFiles);
     356  inherited;
     357end;
    357358
    358359end.
Note: See TracChangeset for help on using the changeset viewer.