BaseTools: Fix regression issue by 1eb72acddd

Fix regression issue by 1eb72acddd
secRe not replace by secReGeneral

Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
Yunhua Feng 2018-04-27 11:21:17 +08:00 committed by Yonghong Zhu
parent dd7760470f
commit 78e759910c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ def _parseGeneral(lines, efifilepath):
status = 3
continue
if status == 1 and len(line) != 0:
m = secRe.match(line)
m = secReGeneral.match(line)
assert m is not None, "Fail to parse the section in map file , line is %s" % line
sec_no, sec_start, sec_length, sec_name, sec_class = m.groups(0)
secs.append([int(sec_no, 16), int(sec_start, 16), int(sec_length, 16), sec_name, sec_class])