summaryrefslogtreecommitdiff
path: root/insns.h
diff options
context:
space:
mode:
Diffstat (limited to 'insns.h')
-rw-r--r--insns.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/insns.h b/insns.h
index 21e2527e..c81b9ed9 100644
--- a/insns.h
+++ b/insns.h
@@ -20,11 +20,11 @@
#endif
struct itemplate {
- int opcode; /* the token, passed from "parser.c" */
- int operands; /* number of operands */
- int32_t opd[3]; /* bit flags for operand types */
- const char *code; /* the code it assembles to */
- uint32_t flags; /* some flags */
+ enum opcode opcode; /* the token, passed from "parser.c" */
+ int operands; /* number of operands */
+ int32_t opd[3]; /* bit flags for operand types */
+ const char *code; /* the code it assembles to */
+ uint32_t flags; /* some flags */
};
/*