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 class="Apple-style-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>