C++ parser
Steven T. Hatton
hattons at globalsymmetry.com
Wed Jun 1 21:20:05 UTC 2005
I look at suff like Robe's code just to remind me there are people who are
better programmers than I will ever be. I hope to find time to really study
what he's done. From what little I do understand, his parser should be
pretty darn fast. Unfortunately, there seems to be some problem running it
on my system. Whenever I try ./r++ -dump main.cpp I get the following:
preprocess main.cpp
real 0m0.147s
user 0m0.114s
sys 0m0.033s
compile main.cpp/usr/include/g++/bits/stl_alloc.h:691: unexpected token
'token:2058 - '
real 0m0.084s
user 0m0.060s
sys 0m0.023s
compiled 37432 loc
I get the same if I don't use -dump. I'm assuming if I use -dump, it should
dump a bunch of stuff to standard out. I get different values for the time
statistics when I run it on different files, but I always get the unexpected
symbol message. It also doesn't seem to understand my CPLUS_INCLUDE_PATH,
nor -I. But as Robe said, it just a stupid wrapper script.
--
Regards,
Steven
More information about the KDevelop-devel
mailing list