BaseTools:Fix a ECC issue
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1522 A property error occurred because the property of the function was not defined. a property is now redefined. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
@ -27,7 +27,7 @@ if sys.version_info.major == 3:
|
|||||||
from Ecc.CParser4.CParser import CParser
|
from Ecc.CParser4.CParser import CParser
|
||||||
else:
|
else:
|
||||||
import antlr3 as antlr
|
import antlr3 as antlr
|
||||||
antlr.InputString = antlr.StringStream
|
antlr.InputStream = antlr.StringStream
|
||||||
from Ecc.CParser3.CLexer import CLexer
|
from Ecc.CParser3.CLexer import CLexer
|
||||||
from Ecc.CParser3.CParser import CParser
|
from Ecc.CParser3.CParser import CParser
|
||||||
|
|
||||||
|
@ -193,6 +193,8 @@ class Configuration(object):
|
|||||||
# Check if there is no trailing white space in one line.
|
# Check if there is no trailing white space in one line.
|
||||||
self.GeneralCheckTrailingWhiteSpaceLine = 1
|
self.GeneralCheckTrailingWhiteSpaceLine = 1
|
||||||
|
|
||||||
|
self.CFunctionLayoutCheckNoDeprecated = 1
|
||||||
|
|
||||||
## Space Checking
|
## Space Checking
|
||||||
self.SpaceCheckAll = 1
|
self.SpaceCheckAll = 1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user