Removed methods which always returned a constant (false).

This commit is contained in:
Erik Verbruggen
2010-01-28 17:05:13 +01:00
parent 4ec51219ed
commit b7cbc9b0c1
2 changed files with 2 additions and 12 deletions

View File

@@ -311,8 +311,7 @@ protected:
Value rhs = _value;
for (int LA_token_kind = (*_lex)->kind(), LA_precedence = precedence(LA_token_kind);
LA_precedence > operPrecedence && isBinaryOperator(LA_token_kind)
|| LA_precedence == operPrecedence && isRightAssoc(LA_token_kind);
LA_precedence > operPrecedence && isBinaryOperator(LA_token_kind);
LA_token_kind = (*_lex)->kind(), LA_precedence = precedence(LA_token_kind)) {
rhs = process_expression_with_operator_precedence(rhs, LA_precedence);
}
@@ -425,9 +424,6 @@ private:
}
}
static inline bool isRightAssoc(int /*tokenKind*/)
{ return false; }
private:
Client *client;
Environment *env;