comparison 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
comparison
equal deleted inserted replaced
161:409295d09a2e 162:5965c01b3dec
1156 { 1156 {
1157 if (as -> skipcount == 1) 1157 if (as -> skipcount == 1)
1158 { 1158 {
1159 as -> skipcount = 0; 1159 as -> skipcount = 0;
1160 as -> skipcond = 0; 1160 as -> skipcond = 0;
1161 skip_operand(p);
1161 } 1162 }
1162 return; 1163 return;
1163 } 1164 }
1164 as -> skipcond = 1; 1165 as -> skipcond = 1;
1165 as -> skipcount = 1; 1166 as -> skipcount = 1;
1167 skip_operand(p);
1166 } 1168 }
1167 1169
1168 PARSEFUNC(pseudo_parse_ifdef) 1170 PARSEFUNC(pseudo_parse_ifdef)
1169 { 1171 {
1170 char *sym; 1172 char *sym;