diff lwasm/instab.c @ 358:fa3659ffa834

Fix missing column in terminal entry in instruction table Thanks to Erik G <erik@6809.org> for pointing out the error. It was operating correctly due to the happy accident but setting a pointer to an enum value is just not kosher.
author William Astle <lost@l-w.ca>
date Tue, 26 May 2015 17:41:22 -0600
parents af78bad4922c
children 44270b66df3c
line wrap: on
line diff
--- a/lwasm/instab.c	Wed May 20 15:06:18 2015 -0600
+++ b/lwasm/instab.c	Tue May 26 17:41:22 2015 -0600
@@ -756,5 +756,5 @@
 	{ "wai",		{	0x3cff,	-1,		-1,		-1 },	insn_parse_inh6800,		insn_resolve_inh6800,			insn_emit_inh6800,			lwasm_insn_is6800 },
 
 	// flag end of table
-	{ NULL,			{	-1, 	-1, 	-1, 	-1 },	NULL,					NULL,							lwasm_insn_normal}
+	{ NULL,			{	-1, 	-1, 	-1, 	-1 },	NULL,					NULL,							NULL,						lwasm_insn_normal}
 };