]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Fix regression issue by 1eb72acddd61
authorYunhua Feng <yunhuax.feng@intel.com>
Fri, 27 Apr 2018 03:21:17 +0000 (11:21 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Fri, 27 Apr 2018 04:37:46 +0000 (12:37 +0800)
Fix regression issue by 1eb72acddd61
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>
BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py

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