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 <hesheng.chen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
hchen30
2018-08-08 11:18:06 +08:00
committed by Yonghong Zhu
parent af24640290
commit 855698fb69
28 changed files with 65 additions and 62 deletions

View File

@ -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 ' '