2
0
Эх сурвалжийг харах

# revisions: 45424

git-svn-id: branches/fixes_3_2@45428 -
marco 5 жил өмнө
parent
commit
9b25c9bda6
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      compiler/scandir.pas

+ 2 - 1
compiler/scandir.pas

@@ -1495,7 +1495,8 @@ unit scandir;
           begin
             current_scanner.skipspace;
             unitpath:=current_scanner.readcomment;
-            if current_module.path<>'' then
+            if (current_module.path<>'') and
+               not path_absolute(unitpath) then
              unitpath:=current_module.path+source_info.DirSep+unitpath;
             current_module.localunitsearchpath.AddPath(unitpath,false);
           end;