]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parser.C
split inset -> inset + updatableinset
[lyx.git] / src / mathed / math_parser.C
index 04c8d76dcf116489317ccf98af36b7c780b1f452..fdecd97f8d8cb5917b0b97730343c7f4f504c996 100644 (file)
@@ -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);