Changeset 51 for trunk/Compiler/UCompiler.pas
- Timestamp:
- Apr 6, 2012, 9:43:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/UCompiler.pas
r50 r51 37 37 TargetFolder: string; 38 38 Targets: TListTarget; 39 MainSource: string; 39 40 SourceFiles: TListString; 40 41 TargetFiles: TListString; … … 84 85 begin 85 86 ErrorMessages.Clear; 86 AbstractCode. Modules.Clear;87 AbstractCode.Clear; 87 88 end; 88 89 … … 169 170 procedure TCompiler.AnalyzeAll; 170 171 begin 171 if SourceFiles.Count > 0then begin172 Analyzer.FileName := SourceFiles[0];172 if (SourceFiles.Count > 0) then begin 173 Analyzer.FileName := MainSource; 173 174 Analyzer.OnGetSource(ExtractFileNameOnly(Analyzer.FileName), Analyzer.SourceCode); 174 175 Analyzer.Process;
Note:
See TracChangeset
for help on using the changeset viewer.