diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-06-19 15:04:18 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-06-19 15:04:18 -0700 |
commit | d2456590fc2216fd871ae566c9478176024d2e45 (patch) | |
tree | 0bf01b205495249c295913640ac70a111ff2fbd0 /tables.h | |
parent | 9dee352dee05eb26da8f867cc0cbb429e5e8d9a1 (diff) | |
download | nasm-d2456590fc2216fd871ae566c9478176024d2e45.tar.gz nasm-d2456590fc2216fd871ae566c9478176024d2e45.tar.bz2 nasm-d2456590fc2216fd871ae566c9478176024d2e45.zip |
preproc: add support for builtin include modules (%use)
Add a builtin equivalent to the %include directive called %use.
%use includes a standard macro file compiled into the binary; these
come from the macros/ directory in the source code.
The idea here is to be able to provide optional macro packages with
the distribution, without adding complex host filesystem dependencies.
Diffstat (limited to 'tables.h')
-rw-r--r-- | tables.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ /* macros.c */ extern const char * const nasm_stdmac[]; -extern const char * const * nasm_stdmac_after_tasm; +extern const char * const * const nasm_stdmac_after_tasm; +const char * const *nasm_stdmac_find_module(const char *); /* --- From insns.dat via insns.pl: --- */ |