[fpc-devel] $IF issues

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Aug 14 11:39:45 CEST 2006


On 8/14/06, Peter Vreman <peter at freepascal.org> wrote:
> > Is this a feature or a FPC bug?  FPC allows the $IF to be closed with
> > the $ENDIF as well as the $IFEND.  This is not Delphi compatible.
> >
> > The closing tag for $IF is $IFEND
> > The closing tag for $IFDEF is $ENDIF
>
> Feature.

Maybe this should be controlled by the compiler mode?  Delphi vs
ObjFPC.  Or should we leave it up to the developer to remember which
one to use when writing code to be compiled with Delphi and FPC?

Regards,
  - Graeme -



-- 
There's no place like 127.0.0.1



More information about the fpc-devel mailing list