diff lwasm/pseudo.c @ 162:5965c01b3dec

Make ELSE not barf if comment on line with it
author lost@l-w.ca
date Sun, 28 Aug 2011 15:36:57 -0600
parents 8967eb907324
children 1824cabf25ce
line wrap: on
line diff
--- a/lwasm/pseudo.c	Sun Aug 28 15:04:35 2011 -0600
+++ b/lwasm/pseudo.c	Sun Aug 28 15:36:57 2011 -0600
@@ -1158,11 +1158,13 @@
 		{
 			as -> skipcount = 0;
 			as -> skipcond = 0;
+			skip_operand(p);
 		}
 		return;
 	}
 	as -> skipcond = 1;
 	as -> skipcount = 1;
+	skip_operand(p);
 }
 
 PARSEFUNC(pseudo_parse_ifdef)