mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
e6775697bb
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
13 lines
239 B
NASM
13 lines
239 B
NASM
;%define UNDEFINED
|
|
%macro macro 0
|
|
%ifndef UNDEFINED
|
|
%rep 1
|
|
%fatal This should display "fatal: (m:3)"
|
|
%endrep
|
|
%endif
|
|
%fatal This should display "fatal: (m:6)" if 'UNDEFINED' defined
|
|
%endmacro
|
|
|
|
macro
|
|
|