mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 14:47:55 +02:00
* patch by lagprogramming: Improvement of function SetCompileModeSwitch, resolves #40525
This commit is contained in:
parent
3c4a2c7380
commit
e5de38c42d
@ -715,10 +715,10 @@ implementation
|
||||
doinclude:=true;
|
||||
case s[length(s)] of
|
||||
'+':
|
||||
s:=copy(s,1,length(s)-1);
|
||||
setlength(s,length(s)-1);
|
||||
'-':
|
||||
begin
|
||||
s:=copy(s,1,length(s)-1);
|
||||
setlength(s,length(s)-1);
|
||||
doinclude:=false;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user