From 0c26995be69bae87664c2a08828bf896cd728416 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 9 Jun 2010 20:13:11 +0000 Subject: [PATCH] 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 --- src/mathed/MathParser.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2