Changeset 44 for trunk/Compiler/UCompiler.pas
- Timestamp:
- Mar 4, 2012, 9:43:53 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/UCompiler.pas
r41 r44 48 48 49 49 uses 50 UTargets ;50 UTargets, UAnalyzerPascal; 51 51 52 52 resourcestring … … 63 63 constructor TCompiler.Create; 64 64 begin 65 Analyzer := TAnalyzerPascal.Create; 65 66 Targets := TListTarget.Create; 66 67 SourceFiles := TListString.Create; … … 148 149 TargetFileName: string; 149 150 begin 151 if Assigned(Target.Producer) then 150 152 try 151 153 ProducedCode := TStringList.Create; … … 155 157 Target.Producer.AssignToStringList(ProducedCode); 156 158 TargetFileName := TargetFolder + DirectorySeparator + 157 CompiledFolder + DirectorySeparator + Target. Producer.Name +159 CompiledFolder + DirectorySeparator + Target.Name + 158 160 DirectorySeparator + TModule(Modules[I]).TargetFile; 159 161 ForceDirectoriesUTF8(ExtractFileDir(TargetFileName));
Note:
See TracChangeset
for help on using the changeset viewer.