Bug in C++ parser

Ralf Nolden Ralf.Nolden at post.rwth-aachen.de
Thu Mar 23 08:59:12 GMT 2000


Achim Spangler wrote:
> 
> "Daniel E. Baumann" schrieb:
> >
> > I think that I have found a bug in kdevelop. I was wrinting a wrapper
> > class for a C library and at the top of the class header file I had to do
> >
> > extern "C"
> > {
> >         #include <header.h>
> > }
> >
> > class Foo
> > {
> > etc.
> >
> This problem sound similar to my problem description with 'extern "C"'
> in a namespace definition. I suspect that the tokenizer don't know
> what to do with the keyword 'extern "C"'. tokenizer.l defines a lot of
> keywords
> like 'template', 'throw', but ontains no 'extern "C"'. Maybe this is the
> reason that
> getNextLexem has problems with code containint 'extern "C"'.
Thanks for the info ;-)

fixed.

Ralf
-- 
**********************************
Ralf Nolden

Ardennenstr. 41 
52355 Düren

Tel. 02421/502758

The KDevelop Project
http://www.kdevelop.org

Email: rnolden at kdevelop.de
**********************************






More information about the KDevelop mailing list