Third iteration of QMake parser, looking for a parser generator

Roberto Raggi roberto.raggi at gmail.com
Tue Jul 3 09:36:01 UTC 2007


Hi!

Il giorno 03/lug/07, alle ore 03:35, Andreas Pakulat ha scritto:

> Hi,
>
> after trying to fix two bugs found in KDev3's qmake parser in the
> KDevelop4 version I come to the conclusion that its again needed to
> rewrite it. I wanted to do that anyway because I don't see a way to
> properly support the writeBack() methods, i.e. in this new version the

kdev-pg already has support for that. You can implemented your own  
"writeBack()" using  kdev-pg's replacements

http://websvn.kde.org/trunk/playground/devtools/kdevelop-pg/include/ 
kdev-pg-replacement.h?revision=606524&view=markup

.. btw if you have an AST, in the current version of the qmake  
parser, you should be able to use a similar approach. Are you sure  
that you need to rewrite the qmake parser?

ciao robe





More information about the KDevelop-devel mailing list