<table><tr><td style="">kossebau added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6013" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Example output with an invalid token index:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">QDEBUG : Css::TestParser::parser(one declaration without semicolon) start[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) imports->importList[0, 0, 0] --- [invalid token index: -1] ""
QDEBUG : Css::TestParser::parser(one declaration without semicolon) rules->ruleList[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) importList[0, 0, 0] --- [invalid token index: -1] ""
QDEBUG : Css::TestParser::parser(one declaration without semicolon) ruleList[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) rules[]->rule[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) rule[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) ruleset->ruleset[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) ruleset[0, 0, 0] --- [14, 0, 14] "body{color:red}"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) selectors->selectorList[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) declarations->declarationList[5, 0, 5] --- [11, 0, 11] "color:red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) selectorList[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) selectors[]->selector[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) selector[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) simpleSelector->simpleSelectorWithWhitespace[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) simpleSelectorWithWhitespace[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) simpleSelector->simpleSelector[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) simpleSelector[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) element->elementName[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) elementName[0, 0, 0] --- [0, 0, 0] "body"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) declarationList[5, 0, 5] --- [11, 0, 11] "color:red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) declarations[]->declaration[5, 0, 5] --- [11, 0, 11] "color:red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) declaration[5, 0, 5] --- [11, 0, 11] "color:red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) property->property[5, 0, 5] --- [5, 0, 5] "color"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) expr->expr[11, 0, 11] --- [11, 0, 11] "red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) property[5, 0, 5] --- [5, 0, 5] "color"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) expr[11, 0, 11] --- [11, 0, 11] "red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) terms[]->term[11, 0, 11] --- [11, 0, 11] "red"
QDEBUG : Css::TestParser::parser(one declaration without semicolon) term[11, 0, 11] --- [11, 0, 11] "red"</pre></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R51 KDevelop: PG Qt</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6013" rel="noreferrer">https://phabricator.kde.org/D6013</a></div></div><br /><div><strong>To: </strong>kossebau, KDevelop<br /><strong>Cc: </strong>kdevelop-devel<br /></div>