Lines Matching refs:cond_depth
181 static unsigned int cond_depth = 0; /* current .if nesting level */
1274 if (cond_depth == cond_min_depth) {
1279 cond_depth--;
1280 return cond_state[cond_depth] <= ELSE_ACTIVE ? COND_PARSE : COND_SKIP;
1287 if (cond_depth == cond_min_depth) {
1292 state = cond_state[cond_depth];
1307 cond_state[cond_depth] = state;
1336 if (cond_depth == cond_min_depth) {
1340 state = cond_state[cond_depth];
1343 cond_state[cond_depth] = SKIP_TO_ENDIF;
1348 cond_state[cond_depth] = SKIP_TO_ELSE;
1353 if (cond_depth + 1 >= max_if_depth) {
1363 state = cond_state[cond_depth];
1364 cond_depth++;
1367 cond_state[cond_depth] = SKIP_TO_ELSE;
1376 cond_state[cond_depth] = SKIP_TO_ELSE;
1381 cond_state[cond_depth] = SEARCH_FOR_ELIF;
1384 cond_state[cond_depth] = IF_ACTIVE;
1407 int open_conds = cond_depth - cond_min_depth;
1409 if (open_conds != 0 || saved_depth > cond_depth) {
1412 cond_depth = cond_min_depth;
1423 cond_min_depth = cond_depth;