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>
(cherry picked from commit 877251b421
)
This commit is contained in:
@ -101,13 +101,6 @@ class CParser(Parser):
|
|||||||
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)
|
||||||
|
|
||||||
|
@ -101,13 +101,6 @@ class CParser(Parser):
|
|||||||
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