diff options
author | Gary Lin <glin@suse.com> | 2018-01-17 12:05:43 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-01-30 10:43:28 +0800 |
commit | 877251b4212dedaabefbc3ef6cd637a5b2740d47 (patch) | |
tree | 1ecd6071900211762c4a42d19bee071b5bf97163 /BaseTools/Source/Python/Ecc | |
parent | 5552ac423193a0236134112457d1ac52d6d9896b (diff) | |
download | edk2-877251b4212dedaabefbc3ef6cd637a5b2740d47.tar.gz edk2-877251b4212dedaabefbc3ef6cd637a5b2740d47.tar.bz2 edk2-877251b4212dedaabefbc3ef6cd637a5b2740d47.zip |
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>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
-rw-r--r-- | BaseTools/Source/Python/Ecc/CParser.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/BaseTools/Source/Python/Ecc/CParser.py b/BaseTools/Source/Python/Ecc/CParser.py index baa521f43c..41f2811430 100644 --- a/BaseTools/Source/Python/Ecc/CParser.py +++ b/BaseTools/Source/Python/Ecc/CParser.py @@ -98,16 +98,9 @@ class CParser(Parser): Parser.__init__(self, input)
self.ruleMemo = {}
- self.function_definition_stack = []
- self.postfix_expression_stack = []
+ self.function_definition_stack = []
+ self.postfix_expression_stack = []
-
-
-
-
-
-
-
def printTokenInfo(self, line, offset, tokenText):
print str(line)+ ',' + str(offset) + ':' + str(tokenText)
|