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:
@ -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 ' '
|
||||
|
Reference in New Issue
Block a user