tex2lyx/text.cpp: take care of the brace pair after comment environments that are there when the TeX file was created by LyX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-04-25 00:38:59 +00:00
parent f7ac332808
commit 329461c700

View 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); parse_text_in_inset(p, os, FLAG_END, outer, parent_context);
end_inset(os); end_inset(os);
p.skip_spaces(); p.skip_spaces();
skip_braces(p); // eat {} that might by set by LyX behind comments
} }
else if (name == "lyxgreyedout") { else if (name == "lyxgreyedout") {