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" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
_______________________________________________
fpc-devel maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel