From 79c6a1b810d958e4af920f689b778f69db31df71 Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Fri, 14 Feb 2003 16:20:44 +0000 Subject: [PATCH] Do not remove braces for {}^ git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6157 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 3 +++ src/mathed/math_parser.C | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index bab6a9fe44..768593d128 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,6 @@ +2003-02-14 Dekel Tsur + + * math_parser.C (parse1): Do not remove braces for {}^ 2003-02-13 Bo Peng diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index 04c8d76dcf..fdecd97f8d 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -746,9 +746,10 @@ void Parser::parse1(MathGridInset & grid, unsigned flags, MathScriptInset * p = cell->back().nucleus()->asScriptInset(); // special handling of {}-bases // is this always correct? - if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() && - p->nuc().back()->extraBraces()) - p->nuc() = p->nuc().back()->asNestInset()->cell(0); + // It appears that this is wrong (Dekel) + //if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() && + // p->nuc().back()->extraBraces()) + // p->nuc() = p->nuc().back()->asNestInset()->cell(0); parse(p->cell(up), FLAG_ITEM, mode); if (limits) { p->limits(limits); -- 2.39.2