mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 17:59:27 +02:00
* Merging revisions r45394 from trunk:
------------------------------------------------------------------------ r45394 | michael | 2020-05-17 09:42:23 +0200 (Sun, 17 May 2020) | 1 line * Trim param in mode statement (bug 37092) ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@46643 -
This commit is contained in:
parent
be5b76d6fe
commit
fc661e0d02
@ -3632,7 +3632,7 @@ begin
|
||||
DoLog(mtWarning,nMisplacedGlobalCompilerSwitch,SMisplacedGlobalCompilerSwitch,[]);
|
||||
exit;
|
||||
end;
|
||||
P:=UpperCase(Param);
|
||||
P:=Trim(UpperCase(Param));
|
||||
Case P of
|
||||
'FPC','DEFAULT':
|
||||
SetMode(msFpc,FPCModeSwitches,false,bsFPCMode);
|
||||
|
Loading…
Reference in New Issue
Block a user