Lines Matching refs:parno
122 int parno; /* number of last open paren */ member
780 if (c > 0 && c <= env->parno && env->paren[c]) in magic()
837 c = (c > env->parno || !env->paren[c]) ? o : T_BACK + c; in magic()
947 env->parno = 0; in token()
2018 grp(Cenv_t* env, int parno) in grp() argument
2335 parno = ++env->parno; in grp()
2341 if (parno < elementsof(env->paren)) in grp()
2342 env->paren[parno] = f; in grp()
2344 f->re.group.number = parno; in grp()
2370 if (!c || c > env->parno || !env->paren[c]) in grp()
2388 if (!(f = grp(env, parno + 1)) && env->error) in grp()
2398 if (!(e->re.group.expr.binary.right = alt(env, parno, 1))) in grp()
2410 return rep(env, e, parno, parno); in grp()
2471 if (c > env->parno || !env->paren[c]) in grp()
2484 if (x && !(e = alt(env, parno, 0))) in grp()
2524 f = rep(env, f, parno, env->parno); in grp()
2540 int parno; in seq() local
2641 if (c > env->parno || !env->paren[c]) in seq()
2675 ++env->parno; in seq()
2676 parno = ++env->parno; in seq()
2677 if (!(e = alt(env, parno + 1, 0))) in seq()
2698 if (parno < elementsof(env->paren)) in seq()
2699 env->paren[parno] = f; in seq()
2701 f->re.group.number = parno; in seq()
2708 if (!(e = rep(env, f, parno, env->parno))) in seq()
2717 if (--parno < elementsof(env->paren)) in seq()
2718 env->paren[parno] = f; in seq()
2720 f->re.group.number = parno; in seq()
2732 if (!(e = grp(env, env->parno + 1))) in seq()
2878 g->re.group.last = env->parno; in alt()