Thanks for your answers.<br>Hmm, actually that would definitely make sense, less code to maintain, and it'd probably be faster, too... I'll have a look at that before I try to fix the other problem (there's several others, too, and some of them would probably take much debugging work)...<br>
<br>Best regards,<br>Sven<br><br><div class="gmail_quote">2010/10/15 Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org">aleixpol@kde.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div class="gmail_quote"><div><div></div><div class="h5">On Fri, Oct 15, 2010 at 6:11 PM, Sven Brauch <span dir="ltr"><<a href="mailto:svenbrauch@googlemail.com" target="_blank">svenbrauch@googlemail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
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></div></div>--<div class="im"><br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org" target="_blank">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></div></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>
<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>