mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
cerr -> lyxerr[Debug::Mathed]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4290 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fe87869cb7
commit
278b7f8fa5
@ -275,7 +275,7 @@ latexkeys const * in_word_set(string const & str)
|
|||||||
|
|
||||||
MathAtom createMathInset(string const & s)
|
MathAtom createMathInset(string const & s)
|
||||||
{
|
{
|
||||||
cerr << "creating inset with name: '" << s << "'\n";
|
lyxerr[Debug::MATHED] << "creating inset with name: '" << s << "'\n";
|
||||||
if (s.size() == 2 && s[0] == '#' && s[1] >= '1' && s[1] <= '9')
|
if (s.size() == 2 && s[0] == '#' && s[1] >= '1' && s[1] <= '9')
|
||||||
return MathAtom(new MathMacroArgument(s[1] - '0'));
|
return MathAtom(new MathMacroArgument(s[1] - '0'));
|
||||||
|
|
||||||
@ -319,7 +319,7 @@ MathAtom createMathInset(string const & s)
|
|||||||
latexkeys const * l = in_word_set(s);
|
latexkeys const * l = in_word_set(s);
|
||||||
if (l) {
|
if (l) {
|
||||||
string const & inset = l->inset;
|
string const & inset = l->inset;
|
||||||
cerr << " fount inset: '" << inset << "'\n";
|
lyxerr[Debug::MATHED] << " fount inset: '" << inset << "'\n";
|
||||||
if (inset == "funclim")
|
if (inset == "funclim")
|
||||||
return MathAtom(new MathFuncLimInset(s));
|
return MathAtom(new MathFuncLimInset(s));
|
||||||
if (inset == "special")
|
if (inset == "special")
|
||||||
@ -357,6 +357,6 @@ MathAtom createMathInset(string const & s)
|
|||||||
if (MathMacroTable::has(s))
|
if (MathMacroTable::has(s))
|
||||||
return MathAtom(new MathMacro(s));
|
return MathAtom(new MathMacro(s));
|
||||||
|
|
||||||
//cerr << "creating inset 2 with name: '" << s << "'\n";
|
//lyxerr[Debug::MATHED] << "creating inset 2 with name: '" << s << "'\n";
|
||||||
return MathAtom(new MathUnknownInset(s));
|
return MathAtom(new MathUnknownInset(s));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user