From: Richard Heck Date: Sat, 24 Feb 2018 05:36:55 +0000 (-0500) Subject: Fix bug #10936. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3783 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=12db09aac265490e34789134f3c492c9ff87e436;p=features.git Fix bug #10936. --- diff --git a/src/tex2lyx/Parser.cpp b/src/tex2lyx/Parser.cpp index ec63b77da8..7f290212f8 100644 --- a/src/tex2lyx/Parser.cpp +++ b/src/tex2lyx/Parser.cpp @@ -720,7 +720,7 @@ string Parser::verbatim_item() if (next_token().cat() == catBegin) { Token t = get_token(); // skip brace string res; - for (Token t = get_token(); t.cat() != catEnd && good(); t = get_token()) { + for (t = get_token(); t.cat() != catEnd && good(); t = get_token()) { if (t.cat() == catBegin) { putback(); res += '{' + verbatim_item() + '}';