[Qt-creator] preprocessor syntax highlight
Kris Wong
wongk at seapine.com
Mon Jan 19 20:02:16 CET 2009
> -----Original Message-----
> From: qt-creator-bounces at trolltech.com
> [mailto:qt-creator-bounces at trolltech.com] On Behalf Of Paulo Jnkml
> Sent: Monday, January 19, 2009 1:44 PM
> To: qt-creator at trolltech.com
> Subject: [Qt-creator] preprocessor syntax highlight
>
> Hi,
>
> in the folowing code:
>
> #ifdef TEST_SOLVE
> //gray from here
>
> #elif TEST_ROOT //also gray here???!!!
> //gray here
>
> #else //normal from here.
>
> #endf
>
> The statement #elif TEST_ROOT shouldn't be grayed out.
> Think someone forgot that case in the highlight grammar or something
> like that.
>
Along those lines... this has probably already been asked, but... is
there any reason the parser doesn't know about the project level defines
specified in the project file? And is this planned?
Thanks,
Kris Wong
More information about the Qt-creator-old
mailing list