mirror of https://github.com/acidanthera/audk.git
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:
parent
402dde68af
commit
c8102434ba
|
@ -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 )?
|
||||||
|
|
Loading…
Reference in New Issue