Re: [fpc-pascal] $modeswitch from command line

2020-02-05 Thread Jonas Maebe
On 05/02/2020 19:04, Jonas Maebe wrote: >> Based on the official >> document¹, the -M option is to select language modes, not language features. > > It will be fixed. Tomas already added it to the output of fpc -h in trunk in the mean time. Jonas ___

Re: [fpc-pascal] $modeswitch from command line

2020-02-05 Thread Jonas Maebe
On 05/02/2020 10:45, Mr Bee via fpc-pascal wrote: > It’s a great info, Jonas. Thank you. > > I didn’t know FPC has -M option for $modeswitch. Sven mentioned earlier that it does: https://lists.freepascal.org/pipermail/fpc-pascal/2020-February/057337.html > Based on the official > document¹, the

Re: [fpc-pascal] $modeswitch from command line

2020-02-05 Thread Mr Bee via fpc-pascal
It’s a great info, Jonas. Thank you. I didn’t know FPC has -M option for $modeswitch. Based on the official document¹, the -M option is to select language modes, not language features. I know changing language mode would reset mode switches. It’s no problem for me because I wrote the code and I