mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
a26433db68
Add %un[i]macro, and a few stylistic cleanups. Note: unlike %undef, %un[i]macro takes an argument specification, which must *exactly* match the macro being undefined. Similarly, %unimacro has to be used to undefine a macro defined with %imacro, and vice versa.
56 lines
499 B
Plaintext
56 lines
499 B
Plaintext
#
|
|
# A * at the end indicates a condition; the list of conditions are
|
|
# on lines starting with *; the negatives are auto-generated
|
|
#
|
|
*
|
|
*ctx
|
|
*def
|
|
*empty
|
|
*id
|
|
*idn
|
|
*idni
|
|
*macro
|
|
*num
|
|
*str
|
|
*token
|
|
%arg
|
|
%assign
|
|
%clear
|
|
%define
|
|
%defstr
|
|
%depend
|
|
%elif*
|
|
%else
|
|
%endif
|
|
%endm
|
|
%endmacro
|
|
%endrep
|
|
%error
|
|
%exitrep
|
|
%iassign
|
|
%idefine
|
|
%idefstr
|
|
%if*
|
|
%imacro
|
|
%include
|
|
%ixdefine
|
|
%line
|
|
%local
|
|
%macro
|
|
%pathsearch
|
|
%pop
|
|
%push
|
|
%rep
|
|
%repl
|
|
%rotate
|
|
%stacksize
|
|
%strcat
|
|
%strlen
|
|
%substr
|
|
%undef
|
|
%unimacro
|
|
%unmacro
|
|
%use
|
|
%warning
|
|
%xdefine
|