On Thu, 26 Nov 2009 13:51:33 +0100
Jonas Maebe <[email protected]> wrote:

> 
> On 26 Nov 2009, at 13:41, Mattias Gaertner wrote:
> 
> > Allowed:
> > 1+1<3
> >
> > Not allowed:
> > (1+1)<3
> >
> > Are brackets not supported?
> > Maybe only in some modes?
> 
> I doubt it. The preprocessor parser is very limited and completely  
> separate from the regular parser. I think that it's in compiler/ 
> scanner.pas, function parse_compiler_expr.
> 
> Disclaimer: I've never modified that code myself and don't know  
> anything about it.

Thanks. I searched scanner, but didn't found that proc.

Hmm. It has hasKlammer. Maybe it supports some brackets ...


Mattias
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to