Commit 7f50d949 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix line continuation parsing ... again

parent 475a1413
......@@ -507,8 +507,11 @@ bool ProFileEvaluator::Private::read(ProFile *pro, QTextStream *ts)
*ptr++ = c;
getNext:
if (cur == end)
if (cur == end) {
if (!quote && !parens)
goto flushItem;
break;
}
c = *cur++;
}
} else { // doSplit
......@@ -534,6 +537,7 @@ bool ProFileEvaluator::Private::read(ProFile *pro, QTextStream *ts)
m_proitem.resize(ptr - (ushort *)m_proitem.unicode());
putSpace = !m_proitem.isEmpty();
} else {
flushItem:
updateItem(ptr);
putSpace = false;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment