diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-24 12:30:54 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-24 12:30:54 -0700 |
commit | dc467ba8af91f21994e10bedd133f4423e14862b (patch) | |
tree | 6cd105090380ba3b7011a21bcf6329b26aaddd6c /insns.h | |
parent | 5f77c031fa39bb96ce2240fbfd1c5465e1208e09 (diff) | |
download | nasm-dc467ba8af91f21994e10bedd133f4423e14862b.tar.gz nasm-dc467ba8af91f21994e10bedd133f4423e14862b.tar.bz2 nasm-dc467ba8af91f21994e10bedd133f4423e14862b.zip |
Support __float*__ for floating-point numbers in expressions
Add special operators to allow the use of floating-point constants in
contexts other than DW/DD/DQ/DT/DO.
As part of this checkin, make MAX_KEYWORD generated by tokhash.pl,
since it knows what all the keywords are so it can tell which one is
the longest.
Diffstat (limited to 'insns.h')
-rw-r--r-- | insns.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -10,13 +10,7 @@ #define NASM_INSNS_H #include "nasm.h" - -/* max length of any instruction, register name etc. */ -#if MAX_INSLEN > 12 /* MAX_INSLEN defined in insnsi.h */ -#define MAX_KEYWORD MAX_INSLEN -#else -#define MAX_KEYWORD 12 -#endif +#include "tokens.h" struct itemplate { enum opcode opcode; /* the token, passed from "parser.c" */ |