Changeset 71 for trunk/Compiler/Modules
- Timestamp:
- Aug 1, 2012, 6:20:01 AM (12 years ago)
- Location:
- trunk/Compiler/Modules
- Files:
-
- 4 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/Modules/Pascal/UModulePascal.pas
r70 r71 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem ;8 Classes, SysUtils, UModularSystem, UAnalyzerPascal; 9 9 10 10 type … … 13 13 14 14 TModulePascal = class(TModule) 15 Analyzer: TAnalyzerPascal; 15 16 constructor Create; override; 16 17 destructor Destroy; override; … … 21 22 22 23 implementation 24 25 uses 26 UCompilerAPI; 23 27 24 28 { TModulePascal } … … 39 43 procedure TModulePascal.Install; 40 44 begin 45 with TCompilerAPI(API) do begin 46 Analyzer := TAnalyzerPascal.Create; 47 Analyzers.Add(Analyzer); 48 end; 41 49 inherited Install; 42 50 end; … … 45 53 begin 46 54 inherited Uninstall; 55 with TCompilerAPI(API) do begin 56 Analyzers.Remove(Analyzer); 57 end; 47 58 end; 48 59
Note:
See TracChangeset
for help on using the changeset viewer.