diff lwasm/insn_inh.c @ 224:2e5a32d56e60

Fixed error with fix for bad operands
author lost
date Thu, 11 Jun 2009 23:12:31 +0000
parents bae1e3ecdce1
children
line wrap: on
line diff
--- a/lwasm/insn_inh.c	Mon May 11 06:09:49 2009 +0000
+++ b/lwasm/insn_inh.c	Thu Jun 11 23:12:31 2009 +0000
@@ -31,4 +31,7 @@
 OPFUNC(insn_inh)
 {
 	lwasm_emitop(as, l, instab[opnum].ops[0]);
+	// skip to end of line
+	for (; **p; (*p)++)
+		/* do nothing */ ;
 }