changeset 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 409295d09a2e
children c2702571818b
files lwasm/pseudo.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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)