Lines Matching defs:cond_depth
181 static unsigned int cond_depth = 0; /* current .if nesting level */
1295 if (cond_depth == cond_min_depth) {
1300 cond_depth--;
1301 return cond_state[cond_depth] <= ELSE_ACTIVE ? COND_PARSE : COND_SKIP;
1308 if (cond_depth == cond_min_depth) {
1313 state = cond_state[cond_depth];
1328 cond_state[cond_depth] = state;
1357 if (cond_depth == cond_min_depth) {
1361 state = cond_state[cond_depth];
1364 cond_state[cond_depth] = SKIP_TO_ENDIF;
1369 cond_state[cond_depth] = SKIP_TO_ELSE;
1374 if (cond_depth + 1 >= max_if_depth) {
1384 state = cond_state[cond_depth];
1385 cond_depth++;
1388 cond_state[cond_depth] = SKIP_TO_ELSE;
1397 cond_state[cond_depth] = SKIP_TO_ELSE;
1402 cond_state[cond_depth] = SEARCH_FOR_ELIF;
1405 cond_state[cond_depth] = IF_ACTIVE;
1428 int open_conds = cond_depth - cond_min_depth;
1430 if (open_conds != 0 || saved_depth > cond_depth) {
1433 cond_depth = cond_min_depth;
1444 cond_min_depth = cond_depth;