lyxerr << " <#> ";
lyxerr << tokens_[i];
}
- lyxerr << "\n";
+ lyxerr << " pos: " << pos_ << "\n";
}
MathAtom at(new MathHullInset(LM_OT_SIMPLE));
parse_into2(at, FLAG_SIMPLE, false);
cell->push_back(at);
- } else {
- dump();
- lyxerr << "something strange in the parser\n";
- break;
}
-
- if (flags & FLAG_SIMPLE) {
+ else if (flags & FLAG_SIMPLE) {
// this is the end of the formula
return;
}
+ else {
+ dump();
+ lyxerr << "something strange in the parser\n";
+ break;
+ }
}
else if (t.cat() == catLetter)