QMake parser incomplete?

Andreas Pakulat apaku at gmx.de
Thu Aug 3 08:02:44 UTC 2006


On 03.08.06 10:40:08, Alexander Dymo wrote:
> On Thursday 03 August 2006 02:48, Andreas Pakulat wrote:
> > I started to work on integrating the QMake parser into the qmake manager
> > in kdevelop 3.4 and stumbled across the IncludeAST::writeBack method
> > doing nothing. I wonder wether that is correct.
> Yes, that's correct so far, because actually include(foo) is parsed as
> ProjectAST with FunctionScope kind. And include is written back using
> ProjectAST::writeBack just like any other function.

That's what I guessed, but I'm not a lex or yacc reader (yet), so I
wasn't sure.

> > The reason why I wonder is that the viewer tells me that for an include
> > statement like
> > include(foobar.pri)
> > writeBack will write
> > include(foobar.pri) {
> That was a bug that I just fixed.

Thanks.

Andreas

-- 
Bridge ahead.  Pay troll.




More information about the KDevelop-devel mailing list