mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* Fix one character being eaten at end of input string
git-svn-id: trunk@40926 -
This commit is contained in:
parent
1895b3ce37
commit
fd6fbed094
@ -628,7 +628,8 @@ var
|
||||
l := CurPos - Start;
|
||||
if l <= 0 then
|
||||
exit;
|
||||
s:=copy(FPCCommandLine,Start,l);
|
||||
s:=Trim(copy(FPCCommandLine,Start,l));
|
||||
Writeln('Examining >>',S,'<<');
|
||||
if (s[1] = '-') and (length(s)>1) then
|
||||
begin
|
||||
case s[2] of
|
||||
@ -747,6 +748,7 @@ begin
|
||||
end;
|
||||
Inc(CurPos);
|
||||
end;
|
||||
Inc(CurPos);
|
||||
ProcessCmdLinePart;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user