mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 22:09:45 +02:00
* Fixed exception while parsing the -o option for the second time
git-svn-id: trunk@16016 -
This commit is contained in:
parent
ed985423ac
commit
ff4614177b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user