Fix bug #6756: import problem with \ (no space following)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34642 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-06-10 20:43:16 +00:00
parent 115d518703
commit 4ab7fb2a49
2 changed files with 5 additions and 0 deletions

View File

@ -613,6 +613,8 @@ void Parser::tokenize(docstring const & buffer)
if (!is) {
error("unexpected end of input");
} else {
if (c == '\n')
c = ' ';
docstring s(1, c);
if (catcode(c) == catLetter) {
// collect letters

View File

@ -103,6 +103,9 @@ What's new
- Correct the LaTeX output of framed boxes (bug 4776).
- Correctly parse math formulas having a backslash as last character
on a line (bug 6756).
* USER INTERFACE