[fpc-devel]comment bug

Tamas Konkoly tcc_inq at freemail.hu
Fri Nov 28 19:43:36 CET 2003


I know. But either the compiler don't make error message in this,
or make but with correct text, because it is not unambiguous for me.

The error text is now:
compiler switches aren't allowed in (* ... *) styled comments

Darek Mazur wrote:

> $ is begin of compilation directive like $IFDEF or $A-
> directives are always in comments
>
> Darek
>
> ----- Original Message -----
> From: "Tamas Konkoly" <tcc_inq at freemail.hu>
> To: <fpc-devel at lists.freepascal.org>
> Sent: Monday, November 24, 2003 6:27 PM
> Subject: [fpc-devel]comment bug
>
> >
> > Hi,
> >
> > There is a small sample. If there is a $ after the comment // characters,
> I get an error from the compiler.
> >
> > begin
> >
> >  writeln('XXXXXXXX'); //$
> >
> > end.
> >
> > Is this a bug?
> >
> > Tcc





More information about the fpc-devel mailing list