diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-08-29 16:38:05 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-08-29 16:38:05 +0000 |
commit | 62b24d7e2fa3c53bd82d3053c7b9c38792275e65 (patch) | |
tree | f3710e7f4e5fdd1d13043df063479e79b68a5ea4 /nasm.h | |
parent | 14f8bf2edf69be882e149bf9dde65bccb367c975 (diff) | |
download | nasm-62b24d7e2fa3c53bd82d3053c7b9c38792275e65.tar.gz |
Add [default] directive
Add the [default {abs|rel}] directive, and clean up directive parsing.
Diffstat (limited to 'nasm.h')
-rw-r--r-- | nasm.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -924,6 +924,18 @@ struct dfmt { #define TYM_ELEMENTS(x) (((x) & 0xFFFFFF00) >> 8) #define TYS_ELEMENTS(x) ((x) << 8) + +/* + * ----- + * Special tokens + * ----- + */ + +enum { + S_ABS, S_BYTE, S_DWORD, S_FAR, S_LONG, S_NEAR, S_NOSPLIT, S_QWORD, S_REL, + S_SHORT, S_STRICT, S_TO, S_TWORD, S_WORD +}; + /* * ----- * Other |