ソースを参照

* Fixed exception while parsing the -o option for the second time

git-svn-id: trunk@16016 -
joost 15 年 前
コミット
ff4614177b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      utils/fppkg/fppkg.pp

+ 1 - 1
utils/fppkg/fppkg.pp

@@ -315,7 +315,7 @@ begin
           ShowUsage;
           halt(0);
         end
-      else if (Length(Paramstr(i))>0) and (Paramstr(I)[1]='-') then
+      else if (Length(Paramstr(i))>0) and (Paramstr(I)[1]='-') and FirstPass then
         Raise EMakeToolError.CreateFmt(SErrInvalidArgument,[I,ParamStr(i)])
       else
       // It's a command or target.