mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-27 09:29:06 +08:00
4169a47bd9
Use a perfect hash to look up preprocessor directives, and generate the preprocessor directive list automatically.
45 lines
407 B
Plaintext
45 lines
407 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
|
|
*id
|
|
*idn
|
|
*idni
|
|
*macro
|
|
*num
|
|
*str
|
|
%arg
|
|
%assign
|
|
%clear
|
|
%define
|
|
%elif*
|
|
%else
|
|
%endif
|
|
%endm
|
|
%endmacro
|
|
%endrep
|
|
%error
|
|
%exitrep
|
|
%iassign
|
|
%idefine
|
|
%if*
|
|
%imacro
|
|
%include
|
|
%ixdefine
|
|
%line
|
|
%local
|
|
%macro
|
|
%pop
|
|
%push
|
|
%rep
|
|
%repl
|
|
%rotate
|
|
%stacksize
|
|
%strlen
|
|
%substr
|
|
%undef
|
|
%xdefine
|