mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-06 16:04:43 +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.
17 lines
268 B
Plaintext
17 lines
268 B
Plaintext
OUT: obj
|
|
%define __SECT__ [section .text]
|
|
%imacro group 1+.nolist
|
|
[group %1]
|
|
%endmacro
|
|
%imacro uppercase 0+.nolist
|
|
[uppercase %1]
|
|
%endmacro
|
|
%imacro export 1+.nolist
|
|
[export %1]
|
|
%endmacro
|
|
%imacro import 1+.nolist
|
|
[import %1]
|
|
%endmacro
|
|
%macro __NASM_CDecl__ 1
|
|
%endmacro
|