From dc467ba8af91f21994e10bedd133f4423e14862b Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 24 Sep 2007 12:30:54 -0700 Subject: 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. --- insns.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'insns.h') 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" */ -- cgit v1.2.3