* 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:
michael 2020-08-23 10:33:51 +00:00
parent be5b76d6fe
commit fc661e0d02

View File

@ -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);