X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..5d4e709cb8d460b2efc083e6e7999f1c3a0eb602:/ArithmeticEvaluator.cpp diff --git a/ArithmeticEvaluator.cpp b/ArithmeticEvaluator.cpp index 60db08e..dd8081e 100644 --- a/ArithmeticEvaluator.cpp +++ b/ArithmeticEvaluator.cpp @@ -165,15 +165,19 @@ double ArithmeticEvaluator::evaluate() throw(int) { */ void ArithmeticEvaluator::convert(const QString& _expression) throw(int) { - QString expr = _expression; + + QString expr = _expression; + cout << "converting " << qPrintable(expr) << endl; QString result=""; expr.remove(QChar(' '), Qt::CaseInsensitive); + cout << "converting " << qPrintable(expr) << endl; foreach(QString func, fctMarkers) { + cout << "for " << qPrintable(func) << endl; QString rep = QString("\x1b%1").arg(fctMarkers.indexOf(QRegExp(func))); expr.replace(QRegExp(func),rep); } - //cout << "packed expr: " << qPrintable(expr) << endl; + cout << "packed expr: " << qPrintable(expr) << endl; int offset = 0; try {