Changeset 73 for trunk/Compiler/Modules/Pascal/UModulePascal.pas
- Timestamp:
- May 2, 2013, 10:11:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Modules/Pascal/UModulePascal.pas
r72 r73 14 14 TModulePascal = class(TModule) 15 15 Analyzer: TAnalyzerPascal; 16 constructor Create ; override;16 constructor Create(AOwner: TComponent); override; 17 17 destructor Destroy; override; 18 procedure Install; override;19 procedure Uninstall; override;18 procedure DoInstall; override; 19 procedure DoUninstall; override; 20 20 end; 21 21 … … 28 28 { TModulePascal } 29 29 30 constructor TModulePascal.Create ;30 constructor TModulePascal.Create(AOwner: TComponent); 31 31 begin 32 inherited Create;32 inherited; 33 33 Name := 'Pascal'; 34 34 Title := 'Pascal'; … … 41 41 end; 42 42 43 procedure TModulePascal. Install;43 procedure TModulePascal.DoInstall; 44 44 begin 45 45 with TCompilerAPI(API) do begin 46 46 RegisterConvertor(TAnalyzerPascal); 47 47 end; 48 inherited Install;48 inherited; 49 49 end; 50 50 51 procedure TModulePascal. Uninstall;51 procedure TModulePascal.DoUninstall; 52 52 begin 53 inherited Uninstall;53 inherited; 54 54 with TCompilerAPI(API) do begin 55 55 UnregisterConvertor(TAnalyzerPascal);
Note:
See TracChangeset
for help on using the changeset viewer.