Fix more of bug 5751.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28555 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-02-19 04:42:30 +00:00
parent e2d20d4386
commit ae6462af96
2 changed files with 2 additions and 3 deletions

View File

@ -61,7 +61,6 @@ void InsetNewlineParams::read(Lexer & lex)
kind = InsetNewlineParams::LINEBREAK; kind = InsetNewlineParams::LINEBREAK;
else else
lex.printError("Unknown kind: `$$Token'"); lex.printError("Unknown kind: `$$Token'");
lex >> "\\end_inset";
} }
@ -75,6 +74,7 @@ void InsetNewline::write(ostream & os) const
void InsetNewline::read(Lexer & lex) void InsetNewline::read(Lexer & lex)
{ {
params_.read(lex); params_.read(lex);
lex >> "\\end_inset";
} }

View File

@ -79,8 +79,6 @@ void InsetNewpageParams::read(Lexer & lex)
kind = InsetNewpageParams::CLEARDOUBLEPAGE; kind = InsetNewpageParams::CLEARDOUBLEPAGE;
else else
lex.printError("Unknown kind"); lex.printError("Unknown kind");
lex >> "\\end_inset";
} }
@ -94,6 +92,7 @@ void InsetNewpage::write(ostream & os) const
void InsetNewpage::read(Lexer & lex) void InsetNewpage::read(Lexer & lex)
{ {
params_.read(lex); params_.read(lex);
lex >> "\\end_inset";
} }