New parser branch (Was: Dumping the source DOM?)

Roberto Raggi roberto at kdevelop.org
Tue Jul 12 18:43:03 UTC 2005


On Thursday 30 June 2005 15:47, Vladimir Prus wrote:
> ghost at zigzag:~/build/kdevelop4-parser$ r++ lexer.cpp
> Segmentation fault
> ghost at zigzag:~/build/kdevelop4-parser$ r++ ast.cpp
> Segmentation fault
> ghost at zigzag:~/build/kdevelop4-parser$ r++ tokens.h
> Segmentation fault
>
> Am I doing something wrong?

strange! it seems to me you're using the wrong ``r++''(maybe the one 
distribuited with kdevelo3!!?). Please, can you try with "./r++ -dump 
file.cpp" (NOTE the ./ prefix)

anyway, gccxml is *NOT* a solution for KDevelop. We need to parse the 
code(actually the *incorrect/unfinished* code) in realtime. r++ is good 
enough for KDevelop. Actually it is pretty good. It can parse Qt, KDE and 
most of boost. 

ciao robe





More information about the KDevelop-devel mailing list