mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
cfb7176ca2
Move the handling of "extra" macros (i.e. output format macros) into the macros.pl mechanism. This allows us to change the format of the internal macro store in the future - e.g. to a single byte store without redundant pointers. Also, stop using indicies into a long array when there is no good reason to not just use different arrays.
11 lines
172 B
Plaintext
11 lines
172 B
Plaintext
OUT: coff
|
|
%define __SECT__ [section .text]
|
|
%macro __NASM_CDecl__ 1
|
|
%endmacro
|
|
%imacro export 1+.nolist
|
|
[export %1]
|
|
%endmacro
|
|
%imacro safeseh 1.nolist
|
|
[safeseh %1]
|
|
%endmacro
|