]> git.lyx.org Git - features.git/commitdiff
tex2lyx/text.cpp: take care of the brace pair after comment environments that are...
authorUwe Stöhr <uwestoehr@web.de>
Fri, 25 Apr 2008 00:38:59 +0000 (00:38 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 25 Apr 2008 00:38:59 +0000 (00:38 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24498 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.cpp

index b0b50061782c29e9b462f83f1fe38728d13bfa80..3d7e126dc236bcbfe93118936a50df0791b62786 100644 (file)
@@ -765,6 +765,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
                parse_text_in_inset(p, os, FLAG_END, outer, parent_context);
                end_inset(os);
                p.skip_spaces();
+               skip_braces(p); // eat {} that might by set by LyX behind comments
        }
 
        else if (name == "lyxgreyedout") {