diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-06-25 22:56:10 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2018-06-25 22:56:10 -0700 |
commit | 18535fd48c78a09e8f5db189ad9bd762bdfeb059 (patch) | |
tree | 1eb4914ba123bd8f0807dfacbf590456cfa79d61 /asm/pptok.dat | |
parent | 8884fc60a204b8b6d0322c76f1ca294472a32498 (diff) | |
download | nasm-18535fd48c78a09e8f5db189ad9bd762bdfeb059.tar.gz |
preproc: add %(i)defid, fix %(i)deftok code manglingextnames
The previous checkin really got the code for %(i)deftok messed up;
this is fixed.
Add %(i)defid which works like %(i)deftok, except that the string
being input is mangled in such a way that it always results in a valid
NASM identifier.
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'asm/pptok.dat')
-rw-r--r-- | asm/pptok.dat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/pptok.dat b/asm/pptok.dat index a2c64d0a..c274bc74 100644 --- a/asm/pptok.dat +++ b/asm/pptok.dat @@ -51,6 +51,7 @@ %assign %clear %define +%defid %defstr %deftok %depend @@ -66,6 +67,7 @@ %fatal %iassign %idefine +%idefid %idefstr %ideftok %if* |