diff options
Diffstat (limited to 'BaseTools/Source/Python/Common/RangeExpression.py')
-rw-r--r-- | BaseTools/Source/Python/Common/RangeExpression.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Common/RangeExpression.py b/BaseTools/Source/Python/Common/RangeExpression.py index 40958451d2..1c52e83792 100644 --- a/BaseTools/Source/Python/Common/RangeExpression.py +++ b/BaseTools/Source/Python/Common/RangeExpression.py @@ -290,7 +290,7 @@ class RangeExpression(BaseExpression): return rangeid
- def NegtiveRange(self, Oprand1):
+ def NegativeRange(self, Oprand1):
rangeContainer1 = self.operanddict[Oprand1]
@@ -332,7 +332,7 @@ class RangeExpression(BaseExpression): if Operator in ["!", "NOT", "not"]:
if not gGuidPattern.match(Oprand1.strip()):
raise BadExpression(ERR_STRING_EXPR % Operator)
- return self.NegtiveRange(Oprand1)
+ return self.NegativeRange(Oprand1)
else:
if Operator in ["==", ">=", "<=", ">", "<", '^']:
return self.EvalRange(Operator, Oprand1)
|