[fpc-devel] Trouble with FPC version.

Geno Roupsky groupsky at gmail.com
Thu May 4 15:55:24 CEST 2006


2006/5/4, Marco van de Voort <marcov at stack.nl>:
>
> > On 5/4/06, Florian Klaempfl <florian at freepascal.org> wrote:
> > > This is assumed to be FPC_VER_201. + isn't a valid character for an
> id?
> >
> > You are right. Changing + to P solved my touble.
> > But FPC should complain about the '+' character, or should not? Bug?
>
> Afaik this is on purpose. In Delphi comments can follow after a directive.
>

Can it be done only in {$mode delphi} to allow this, in others to require at
least a space after the define name or give a warning of some kind?


--
Geno Roupsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20060504/f2f52643/attachment.html>


More information about the fpc-devel mailing list