mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
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:
parent
e2d20d4386
commit
ae6462af96
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user