ASTVisitor

Sven Brauch svenbrauch at googlemail.com
Fri Oct 15 16:11:03 UTC 2010


Hey!

I'm using kdevelop-pg-qt to generate a parser for python. In astvisitor.cpp
(http://github.com/scummos/kdevelop-python/blob/master/parser/astvisitor.cpp),
although the type of the AST is definitely BooleanNotOperation, it steps
into visitBooleanAndOperation for code like "if not foo: pass" and then
segfaults. Can anyone tell me why it steps into visitBooleanAndOperation and
not into visitBooleanNotOperation? I really can't figure that out...

Thanks,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101015/29ac4297/attachment.html>


More information about the KDevelop-devel mailing list