]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.C
install fixes, small cleanups
[features.git] / src / mathed / math_parser.C
index b2d4bb911b5a9bc087a62e19c7818fff9be56405..9886fe7895dbcf4a65b957f8d1deb09dcaa0e9fb 100644 (file)
@@ -875,9 +875,7 @@ void mathed_parse(MathedArray & array, unsigned flags = 0,
                                        crow = mt->getRowSt();
                                }
                                
-#ifdef DEBUG
-                               lyxerr << "MATH BEGIN[" << mathed_env << "]" << endl;
-#endif
+                               lyxerr[Debug::MATHED] << "MATH BEGIN[" << mathed_env << "]" << endl;
                        } else {
 //          lyxerr << "MATHCRO[" << yytext << "]";
                                MathMacro * p = 
@@ -924,9 +922,7 @@ void mathed_parse(MathedArray & array, unsigned flags = 0,
                        } else {
                                mathed_label = yytext.data();
                        }
-#ifdef DEBUG
-                       lyxerr << "Label[" << mathed_label << "]" << endl;
-#endif
+                       lyxerr[Debug::MATHED] << "Label[" << mathed_label << "]" << endl;
                        break;
                }