/* ========= begin header generated by ./mkh ========= */ #ifdef __cplusplus extern "C" { #endif /* === regcomp.c === */ static void p_ere P((struct parse *p, int stop)); static void p_ere_exp P((struct parse *p)); static void p_str P((struct parse *p)); static void p_bre P((struct parse *p, register int end1, int end2)); static int p_simp_re P((struct parse *p, int starordinary)); static int p_count P((struct parse *p)); static void p_bracket P((struct parse *p)); static void p_b_term P((struct parse *p, register cset *cs)); static void p_b_cclass P((struct parse *p, register cset *cs)); static void p_b_eclass P((struct parse *p, register cset *cs)); static char p_b_symbol P((struct parse *p)); static char p_b_coll_elem P((struct parse *p, int endc)); static char othercase P((int ch)); static void bothcases P((struct parse *p, int ch)); static void ordinary P((struct parse *p, register int ch)); static void nonnewline P((struct parse *p)); static void repeat P((struct parse *p, sopno start, int from, int to)); static int seterr P((struct parse *p, int e)); static cset *allocset P((struct parse *p)); static void freeset P((struct parse *p, register cset *cs)); static int freezeset P((struct parse *p, register cset *cs)); static int firstch P((struct parse *p, register cset *cs)); static int nch P((struct parse *p, register cset *cs)); static void mcadd P((struct parse *p, register cset *cs, char *cp)); static void mcinvert P((struct parse *p, register cset *cs)); static void mccase P((struct parse *p, register cset *cs)); static int isinsets P((struct re_guts *g, int c)); static int samesets P((struct re_guts *g, int c1, int c2)); static void categorize P((struct parse *p, struct re_guts *g)); static sopno dupl P((struct parse *p, sopno start, sopno finish)); static void doemit P((struct parse *p, sop op, size_t opnd)); static void doinsert P((struct parse *p, sop op, size_t opnd, sopno pos)); static void dofwd P((struct parse *p, sopno pos, sop value)); static void enlarge P((struct parse *p, sopno size)); static void stripsnug P((struct parse *p, register struct re_guts *g)); static void findmust P((struct parse *p, register struct re_guts *g)); static sopno pluscount P((struct parse *p, register struct re_guts *g)); #ifdef __cplusplus } #endif /* ========= end header generated by ./mkh ========= */