tex2lyx/Parser.cpp: backport [fb64fe613/lyxgit] to fix the regression introduced after the release of LyX 2.0.5 (bug #8525)

This commit is contained in:
Uwe Stöhr 2013-03-10 16:19:05 +01:00
parent 37df0b5afe
commit 70ebf64c3f

View File

@ -400,7 +400,8 @@ Parser::Arg Parser::getFullArg(char left, char right, bool allow_escaping)
putback();
return make_pair(false, string());
} else {
for (t = get_token(); good(); t = get_token()) {
while (good()) {
t = get_token();
// Ignore comments
if (t.cat() == catComment) {
if (!t.cs().empty())