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);