BaseTools: Various typo
Various typo in BaseTools. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur <coeur@gmx.fr> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
325ad62260
commit
fb0b35e05f
@ -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)
|
||||
|
Reference in New Issue
Block a user