BaseTools: Fix indentation in CParser.py file
Mixing usage of spaces and tabs may confuse the python compiler/interpreter. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Gary Lin <glin@suse.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@ -98,16 +98,9 @@ class CParser(Parser):
|
|||||||
Parser.__init__(self, input)
|
Parser.__init__(self, input)
|
||||||
self.ruleMemo = {}
|
self.ruleMemo = {}
|
||||||
|
|
||||||
self.function_definition_stack = []
|
self.function_definition_stack = []
|
||||||
self.postfix_expression_stack = []
|
self.postfix_expression_stack = []
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def printTokenInfo(self, line, offset, tokenText):
|
def printTokenInfo(self, line, offset, tokenText):
|
||||||
print str(line)+ ',' + str(offset) + ':' + str(tokenText)
|
print str(line)+ ',' + str(offset) + ':' + str(tokenText)
|
||||||
|
|
||||||
|
@ -98,16 +98,9 @@ class CParser(Parser):
|
|||||||
Parser.__init__(self, input)
|
Parser.__init__(self, input)
|
||||||
self.ruleMemo = {}
|
self.ruleMemo = {}
|
||||||
|
|
||||||
self.function_definition_stack = []
|
self.function_definition_stack = []
|
||||||
self.postfix_expression_stack = []
|
self.postfix_expression_stack = []
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def printTokenInfo(self, line, offset, tokenText):
|
def printTokenInfo(self, line, offset, tokenText):
|
||||||
print str(line)+ ',' + str(offset) + ':' + str(tokenText)
|
print str(line)+ ',' + str(offset) + ':' + str(tokenText)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user