[fpc-devel] Semicolon before else

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Jan 26 08:23:47 CET 2010


Daniƫl Mantione wrote:
> 
> Indeed, it would be undesired to accept that semicolon. What makes me 
> uncomfortable is that he went to the trouble of modifying the compiler for 
> it. We should encourage that.


I know, it is impressive that somebody went through all that trouble in
modifying the compiler, but I think it would be wise for anybody in the
future, to first mention your issues and ideas here, before simply
implementing it.

Unless there is some command line parameter that can toggle that behaviour
(like what was done with '-Sc' C style operator support), then his work
would not have been in vain. In this case, I would suggest by default that
that syntax is not allowed. The command line parameter will enable it.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list