mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
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:
parent
37df0b5afe
commit
70ebf64c3f
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user