<div class="gmail_quote">On Sun, May 23, 2010 at 12:13 AM, Victor Vicente de Carvalho <span dir="ltr"><<a href="mailto:victor.v.carvalho@gmail.com">victor.v.carvalho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<div><br></div><div>I've updated Johnattan's kdevpg-qt and somehow it's managing to crash KDevelop when trying to parse my grammar. Here is the output:</div><div><br></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>

kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div><div>

kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: Visiting While ("1") ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List: Get "_depList" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h") "_arg" ("/home/victor/kdev-extra/erlang/parser/erlang.g")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: List!! "_arg" = ("/home/victor/kdev-extra/erlang/parser/erlang.g")  ->  ("/home/victor/kdev-extra/erlang/parser/erlang.g", "/home/victor/kdev-extra/erlang/parser/erlanglexer.h")</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "if" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "NAMESPACE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DEBUG_VISITOR") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "TOKEN_TEXT") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "DUMP_INFO") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "BEAUTIFUL_CODE") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "STRICT_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >>  "elseif" ("/home/victor/kdev-extra/erlang/parser/erlang.g", "STREQUAL", "IGNORE_CONFLICTS") false</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: >> else</div><div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: About to visit  "else" ? true</div>

<div>kdevelop(16646)/kdevelop (cmake support debug) CMakeProjectVisitor::visit: error! function not implemented "break"</div><div><br></div><div>And goes forever until a SEGFAULT is generated. If you open FindKDevelop-PG-Qt.cmake, on line 138 there is a "break" command there, but somehow it's not being recognized under KDevelop. On cmake itself it's running fine.</div>

<div><br></div><div>Should I file a bug report?</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div>Victor</div><div><br></div><div><br></div></span></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><div>Yes please, report.</div><div>I'll have some cmake bug sweeping at some point when I have more time :) (and before releasing, of course)</div>