Lines Matching refs:parno
122 int parno; /* number of last open paren */
789 if (c > 0 && c <= env->parno && env->paren[c])
846 c = (c > env->parno || !env->paren[c]) ? o : T_BACK + c;
956 env->parno = 0;
2041 grp(Cenv_t* env, int parno)
2371 parno = ++env->parno;
2377 if (parno < elementsof(env->paren))
2378 env->paren[parno] = f;
2380 f->re.group.number = parno;
2406 if (!c || c > env->parno || !env->paren[c])
2424 if (!(f = grp(env, parno + 1)) && env->error)
2434 if (!(e->re.group.expr.binary.right = alt(env, parno, 1)))
2446 return rep(env, e, parno, parno);
2507 if (c > env->parno || !env->paren[c])
2526 if (!(e = alt(env, parno, 0)))
2569 f = rep(env, f, parno, env->parno);
2591 int parno;
2692 if (c > env->parno || !env->paren[c])
2726 ++env->parno;
2727 parno = ++env->parno;
2728 if (!(e = alt(env, parno + 1, 0)))
2749 if (parno < elementsof(env->paren))
2750 env->paren[parno] = f;
2752 f->re.group.number = parno;
2759 if (!(e = rep(env, f, parno, env->parno)))
2768 if (--parno < elementsof(env->paren))
2769 env->paren[parno] = f;
2771 f->re.group.number = parno;
2783 if (!(e = grp(env, env->parno + 1)))
2929 g->re.group.last = env->parno;