Changeset 62 for trunk/Compiler/UCompiler.pas
- Timestamp:
- Jul 17, 2012, 10:14:41 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Compiler/UCompiler.pas
r59 r62 111 111 begin 112 112 I := 0; 113 while (I < Files.Count) and (ExtractFileName Only(Files[I]) <> Name) do Inc(I);113 while (I < Files.Count) and (ExtractFileName(Files[I]) <> Name) do Inc(I); 114 114 if I < Files.Count then begin 115 115 if FileExistsUTF8(Files[I]) then begin … … 127 127 begin 128 128 I := 0; 129 while (I < Files.Count) and (ExtractFileName Only(Files[I]) <> Name) do Inc(I);129 while (I < Files.Count) and (ExtractFileName(Files[I]) <> Name) do Inc(I); 130 130 if I >= Files.Count then begin 131 131 SaveStringToFile(Name, Content); … … 212 212 if MainSource <> '' then begin 213 213 Analyzer.FileName := MainSource; 214 Analyzer.OnGetSource(ExtractFileName Only(Analyzer.FileName), Analyzer.SourceCode);214 Analyzer.OnGetSource(ExtractFileName(Analyzer.FileName), Analyzer.SourceCode); 215 215 Analyzer.Process; 216 216 //ShowMessage(IntToHex(Integer(Addr(Analyzer.OnGetSource)), 8));
Note:
See TracChangeset
for help on using the changeset viewer.