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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34638 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-06-09 20:13:11 +00:00
parent 81228c90fc
commit 0c26995be6

View File

@ -614,6 +614,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