summaryrefslogtreecommitdiff
path: root/pptok.dat
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-19 15:04:18 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-19 15:04:18 -0700
commitd2456590fc2216fd871ae566c9478176024d2e45 (patch)
tree0bf01b205495249c295913640ac70a111ff2fbd0 /pptok.dat
parent9dee352dee05eb26da8f867cc0cbb429e5e8d9a1 (diff)
downloadnasm-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 'pptok.dat')
-rw-r--r--pptok.dat1
1 files changed, 1 insertions, 0 deletions
diff --git a/pptok.dat b/pptok.dat
index 78a975f..a30dd7e 100644
--- a/pptok.dat
+++ b/pptok.dat
@@ -47,5 +47,6 @@
%strlen
%substr
%undef
+%use
%warning
%xdefine