0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

Use a perfect hash to look up preprocessor directives

Use a perfect hash to look up preprocessor directives, and generate
the preprocessor directive list automatically.
This commit is contained in:
H. Peter Anvin
2007-09-12 01:29:43 +00:00
parent cdea6f96b6
commit 4169a47bd9
26 changed files with 423 additions and 241 deletions

View File

@@ -9,6 +9,9 @@
#ifndef NASM_NASMLIB_H
#define NASM_NASMLIB_H
#include <inttypes.h>
#include <stdio.h>
/*
* If this is defined, the wrappers around malloc et al will
* transform into logging variants, which will cause NASM to create