From 855698fb69fdb85fa24c4374d07947106f4de828 Mon Sep 17 00:00:00 2001 From: hchen30 Date: Wed, 8 Aug 2018 11:18:06 +0800 Subject: BaseTools/Ecc: Fix import issues 1. Complete the full path for import statement. Use "EccMain" to replace "Ecc" for the absolute path support. 2. Fix some issues on configuration file. 3. Fix an issue of RaiseError not working in EdkLogger. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Reviewed-by: Liming Gao --- BaseTools/Source/Python/Ecc/CodeFragmentCollector.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'BaseTools/Source/Python/Ecc/CodeFragmentCollector.py') diff --git a/BaseTools/Source/Python/Ecc/CodeFragmentCollector.py b/BaseTools/Source/Python/Ecc/CodeFragmentCollector.py index 28b4e0196f..d12232cc6f 100644 --- a/BaseTools/Source/Python/Ecc/CodeFragmentCollector.py +++ b/BaseTools/Source/Python/Ecc/CodeFragmentCollector.py @@ -23,13 +23,13 @@ import Common.LongFilePathOs as os import sys import antlr3 -from .CLexer import CLexer -from .CParser import CParser +from Ecc.CLexer import CLexer +from Ecc.CParser import CParser -from . import FileProfile -from .CodeFragment import Comment -from .CodeFragment import PP_Directive -from .ParserWarning import Warning +from Ecc import FileProfile +from Ecc.CodeFragment import Comment +from Ecc.CodeFragment import PP_Directive +from Ecc.ParserWarning import Warning ##define T_CHAR_SPACE ' ' -- cgit v1.2.3