Lines Matching defs:incase
75 char incase; /* 1 for case pattern, 2 after case */
267 lp->lex.intest = lp->lex.incase = lp->lex.skipword = lp->lexd.warn = 0;
329 if(lp->lex.incase)
492 if(lp->lex.incase<=TEST_RE)
523 lp->lex.incase = 0;
606 lp->lex.incase = (c==BREAKCASESYM || c==FALLTHRUSYM);
614 if(c==LPAREN && lp->comp_assign && !lp->lex.intest && !lp->lex.incase)
689 if(c=='~' && n==LPAREN && lp->lex.incase)
690 lp->lex.incase = TEST_RE;
1035 if(lp->lexd.level==inlevel+1 && lp->lex.incase>=TEST_RE && !lp->lex.intest)
1123 if(lp->lex.reservok && !lp->lex.incase)
1194 && !lp->lex.incase && !lp->lex.intest
1210 if(lp->lex.incase==TEST_RE)
1212 lp->lex.incase++;
1285 else if(n>2 && state[0]=='{' && state[n-1]=='}' && !lp->lex.intest && !lp->lex.incase && (c=='<' || c== '>') && sh_isoption(SH_BRACEEXPAND))
1304 if(assignment || (lp->lex.intest&&!lp->lex.incase) || mode==ST_NONE)
1367 lp->lex.incase = 0;
1387 lp->lex.incase = 1;
1389 lp->lex.incase = TEST_RE;
1401 if(lp->lex.reservok /* && !lp->lex.incase*/ && n<=2)
1407 if(lp->lexd.warn && c=='{' && lp->lex.incase==2)
1409 if(lp->lex.incase==1 && c==RBRACE)
1410 lp->lex.incase = 0;
1413 else if(!lp->lex.incase && c==LBRACT && state[1]==LBRACT)
1426 if(lp->lex.incase)
1428 if(lp->lex.incase >1)
1429 lp->lex.incase = 1;
1431 lp->lex.incase = 0;
1438 lp->lex.incase = 2*(c==CASESYM);
1459 if(!lp->lex.incase && !assignment && fcpeek(0)!=LPAREN &&
1494 lp->lex.incase=0;
1525 lp->lex.incase=1;
1527 lp->lex.incase=0;
1532 if(c==RBRACE && lp->lex.incase)
1533 lp->lex.incase=0;
1537 if(endtok==LBRACE && !lp->lex.incase)
1551 if(endtok==LPAREN && !lp->lex.incase)
1555 if(lp->lex.incase)
1556 lp->lex.incase=0;