From 40c5065b5cdd750f75f0213c65e9fccea95f263b Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Wed, 18 Dec 2002 10:57:45 +0000 Subject: [PATCH] Fix reading of math macros git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5853 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/math_parser.C | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index f07af65f98..dc61341945 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2002-12-17 Dekel Tsur + + * math_parser.C (tokenize): Fix macro reading. + 2002-12-01 Lars Gullik Bjønnes * several files: ws changes diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index ddadf94e19..378ed0d64f 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -403,6 +403,9 @@ void Parser::tokenize(istream & is) break; } } + // Remove the space after \end_inset + if (is.get(c) && c != ' ') + is.unget(); // tokenize buffer tokenize(s); -- 2.39.2