comparison 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
comparison
equal deleted inserted replaced
357:b6933dc299e6 358:fa3659ffa834
754 { "tsx", { 0x1f41, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 }, 754 { "tsx", { 0x1f41, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 },
755 { "txs", { 0x1f14, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 }, 755 { "txs", { 0x1f14, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 },
756 { "wai", { 0x3cff, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 }, 756 { "wai", { 0x3cff, -1, -1, -1 }, insn_parse_inh6800, insn_resolve_inh6800, insn_emit_inh6800, lwasm_insn_is6800 },
757 757
758 // flag end of table 758 // flag end of table
759 { NULL, { -1, -1, -1, -1 }, NULL, NULL, lwasm_insn_normal} 759 { NULL, { -1, -1, -1, -1 }, NULL, NULL, NULL, lwasm_insn_normal}
760 }; 760 };