From: Enrico Forestieri Date: Wed, 9 Jun 2010 20:13:11 +0000 (+0000) Subject: Fix bug #6756: import problem with \ (no space following) X-Git-Tag: 2.0.0~3148 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0c26995be69bae87664c2a08828bf896cd728416;p=features.git 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 --- diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index 76f3981c37..90d7c9349a 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -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