WildCard is spelled Wildcard

Change-Id: I88b3b7daac80f84548d013fbebb74f8f617833cd
This commit is contained in:
Romain Goyet
2016-04-01 14:29:38 +02:00
parent edb6737057
commit af04b2b799
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ int ExpressionSelector::match(Expression * e, ExpressionMatch * matches) {
return 0;
}
break;
case ExpressionSelector::Match::WildCard:
case ExpressionSelector::Match::Wildcard:
/* This should not happen as a wildcard should be matched _before_ */
assert(false);
break;
@@ -29,7 +29,7 @@ int ExpressionSelector::match(Expression * e, ExpressionMatch * matches) {
ExpressionSelector * childSelector = this->child(i);
Expression * childExpression = e->operand(i);
if (childSelector->m_match == ExpressionSelector::Match::WildCard) {
if (childSelector->m_match == ExpressionSelector::Match::Wildcard) {
assert(i == m_numberOfChildren-1); // Wildcards should be the last argument!
Expression * local_expr[255];
for (int j=i; j<e->numberOfOperands(); j++) {

View File

@@ -14,7 +14,7 @@ public:
enum class Match {
Any,
Type,
WildCard,
Wildcard,
};
ExpressionSelector * child(int i);
/* The match function is interesting