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.


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

Reply via email to