summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-01-17 12:05:43 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-01-30 10:43:28 +0800
commit877251b4212dedaabefbc3ef6cd637a5b2740d47 (patch)
tree1ecd6071900211762c4a42d19bee071b5bf97163 /BaseTools
parent5552ac423193a0236134112457d1ac52d6d9896b (diff)
downloadedk2-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')
-rw-r--r--BaseTools/Source/Python/Ecc/CParser.py11
-rw-r--r--BaseTools/Source/Python/Eot/CParser.py11
2 files changed, 4 insertions, 18 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)
diff --git a/BaseTools/Source/Python/Eot/CParser.py b/BaseTools/Source/Python/Eot/CParser.py
index baa521f43c..41f2811430 100644
--- a/BaseTools/Source/Python/Eot/CParser.py
+++ b/BaseTools/Source/Python/Eot/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)