<div><div class="gmail_quote">On Fri, Oct 15, 2010 at 6:11 PM, Sven Brauch <span dir="ltr"><<a href="mailto:svenbrauch@googlemail.com">svenbrauch@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey!<br><br>I'm using kdevelop-pg-qt to generate a parser for python. In astvisitor.cpp (<a href="http://github.com/scummos/kdevelop-python/blob/master/parser/astvisitor.cpp" target="_blank">http://github.com/scummos/kdevelop-python/blob/master/parser/astvisitor.cpp</a>), 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...<br>


<br>Thanks,<br><font color="#888888">Sven<br>
</font><br>--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br></div><div>Are you sure you can't use the parser provided by libpython?<div><br></div><div>That would make sense...<br></div></div>