summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-24 12:30:54 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-24 12:30:54 -0700
commitdc467ba8af91f21994e10bedd133f4423e14862b (patch)
tree6cd105090380ba3b7011a21bcf6329b26aaddd6c /insns.h
parent5f77c031fa39bb96ce2240fbfd1c5465e1208e09 (diff)
downloadnasm-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.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/insns.h b/insns.h
index 33cf9f4..4e1b901 100644
--- a/insns.h
+++ b/insns.h
@@ -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" */