BaseTools ConvertMasmToNasm: Support ASM_PFX in .asm files

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
Jordan Justen 2016-03-16 16:01:55 -07:00
parent 402dde68af
commit c8102434ba
1 changed files with 3 additions and 1 deletions

View File

@ -285,7 +285,9 @@ class ConvertAsmFile(CommonUtils):
self.oldAsmEmptyLineCount = 0 self.oldAsmEmptyLineCount = 0
procDeclRe = re.compile(r''' procDeclRe = re.compile(r'''
([\w@][\w@0-9]*) \s+ (?: ASM_PFX \s* [(] \s* )?
([\w@][\w@0-9]*) \s*
[)]? \s+
PROC PROC
(?: \s+ NEAR | FAR )? (?: \s+ NEAR | FAR )?
(?: \s+ C )? (?: \s+ C )?