comparison lwasm/pseudo.c @ 145:d6e9cc4484f6

Fixed ENDC to work with comments after it
author lost@l-w.ca
date Wed, 24 Aug 2011 21:16:07 -0600
parents 697bc543368c
children 9cf1796259b2
comparison
equal deleted inserted replaced
144:86d097dceebc 145:d6e9cc4484f6
1095 } 1095 }
1096 1096
1097 PARSEFUNC(pseudo_parse_endc) 1097 PARSEFUNC(pseudo_parse_endc)
1098 { 1098 {
1099 l -> len = 0; 1099 l -> len = 0;
1100 skip_operand(p);
1100 if (as -> skipcond && !(as -> skipmacro)) 1101 if (as -> skipcond && !(as -> skipmacro))
1101 { 1102 {
1102 as -> skipcount--; 1103 as -> skipcount--;
1103 if (as -> skipcount <= 0) 1104 if (as -> skipcount <= 0)
1104 as -> skipcond = 0; 1105 as -> skipcond = 0;