diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 16:34:06 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 16:34:06 +0000 |
commit | 24cfef4f8f7ee01f841e86972001b06acae243ea (patch) | |
tree | a3489ab0d04671bb27847c9be3fad246d6bb2e85 /insns.h | |
parent | 628168c50264147e1b8b200833f25a4e166f5cd8 (diff) | |
download | nasm-24cfef4f8f7ee01f841e86972001b06acae243ea.tar.gz nasm-24cfef4f8f7ee01f841e86972001b06acae243ea.tar.bz2 nasm-24cfef4f8f7ee01f841e86972001b06acae243ea.zip |
Clean up unnecessary dependencies.
Diffstat (limited to 'insns.h')
-rw-r--r-- | insns.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -10,6 +10,15 @@ #ifndef NASM_INSNS_H #define NASM_INSNS_H +#include "insnsi.h" /* instruction opcode enum */ + +/* max length of any instruction, register name etc. */ +#if MAX_INSLEN > 9 /* MAX_INSLEN defined in insnsi.h */ +#define MAX_KEYWORD MAX_INSLEN +#else +#define MAX_KEYWORD 9 +#endif + struct itemplate { int opcode; /* the token, passed from "parser.c" */ int operands; /* number of operands */ |