浏览代码

reverted the link object search change

git-svn-id: trunk@24727 -
Károly Balogh 12 年之前
父节点
当前提交
a11c113429
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compiler/link.pas

+ 2 - 2
compiler/link.pas

@@ -210,8 +210,8 @@ Implementation
          begin
            if FileExists(FixFileName(s),false) then
             begin
-              findobjectfile:=ScriptFixFileName(s);
-              exit;
+              foundfile:=ScriptFixFileName(s);
+              found:=true;
             end;
          end;
         if pos('.',s)=0 then