Branch names with spaces impossible
Read the whole line to catch the whole branch name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28620
a592a061-630c-0410-9148-
cb99ea01b6c8
} else if (token == "\\output_changes") {
lex >> outputChanges;
} else if (token == "\\branch") {
- lex.next();
+ lex.eatLine();
docstring branch = lex.getDocString();
branchlist().add(branch);
while (true) {
void InsetBranchParams::read(Lexer & lex)
{
- lex >> branch;
+ lex.eatLine();
+ branch = lex.getDocString();
}
} // namespace lyx