Sun, 09 Feb 2014 14:34:13 +0200
- removed some no longer needed debug stuff
src/Expression.cc | file | annotate | diff | comparison | revisions | |
src/Parser.cc | file | annotate | diff | comparison | revisions |
--- a/src/Expression.cc Sun Feb 09 14:30:18 2014 +0200 +++ b/src/Expression.cc Sun Feb 09 14:34:13 2014 +0200 @@ -80,8 +80,6 @@ ScriptVariable* globalvar; mLexer->MustGetNext(); - Print ("Token type: %1\n", mLexer->DescribeTokenType (mLexer->GetTokenType())); - if (mLexer->GetTokenType() == tkColon) return new ExpressionColon; @@ -221,11 +219,7 @@ // Unary minus with a value as the previous symbol cannot really be // unary; replace with binary minus. if (op->GetID() == opUnaryMinus && (*(it - 1))->GetType() == eValueSymbol) - { - Print ("Changing symbol operator #%1 from %2 to %3\n", - it - mSymbols.begin(), op->GetID(), opSubtraction); op->SetID (opSubtraction); - } } } @@ -264,7 +258,6 @@ if (mSymbols[0]->GetType() != eValueSymbol) Error ("bad expression"); - Print ("Expression speedy-verified (1 expr symbol)\n"); return; } @@ -363,7 +356,6 @@ if (verified[i] == false) Error ("malformed expression: expr symbol #%1 is was left unverified", i); - Print ("Expression verified.\n"); delete verified; } @@ -403,7 +395,6 @@ const List<ExpressionValue*>& values) { const OperatorInfo* info = &gOperators[op->GetID()]; - Print ("Process operator %1\n", info - gOperators); bool isconstexpr = true; for (ExpressionValue* val : values) @@ -451,8 +442,6 @@ buf->MergeAndDestroy (b2); // perform third operand (false case) buf->AdjustMark (mark2); // move the ending mark2 here - Print ("Mark positions: %1 %2\n", mark1->pos, mark2->pos); - for (int i = 0; i < 3; ++i) values[i]->SetBuffer (null); }
--- a/src/Parser.cc Sun Feb 09 14:30:18 2014 +0200 +++ b/src/Parser.cc Sun Feb 09 14:34:13 2014 +0200 @@ -1173,11 +1173,8 @@ { mScopeCursor++; - Print ("%1 <-> %2\n", mScopeStack.Size(), mScopeCursor + 1); - if (mScopeStack.Size() < mScopeCursor + 1) { - Print ("Adding a scope\n"); ScopeInfo newscope; mScopeStack << newscope; reset = eResetScope;