mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
WildCard is spelled Wildcard
Change-Id: I88b3b7daac80f84548d013fbebb74f8f617833cd
This commit is contained in:
@@ -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++) {
|
||||
|
||||
@@ -14,7 +14,7 @@ public:
|
||||
enum class Match {
|
||||
Any,
|
||||
Type,
|
||||
WildCard,
|
||||
Wildcard,
|
||||
};
|
||||
ExpressionSelector * child(int i);
|
||||
/* The match function is interesting
|
||||
|
||||
Reference in New Issue
Block a user