You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.org> on 1997/07/08 20:05:49 UTC

cvs commit: apache/src/regex engine.ih regcomp.ih regerror.ih .cvsignore Makefile

akosut      97/07/08 11:05:44

  Modified:    src/regex  .cvsignore Makefile
  Added:       src/regex  engine.ih regcomp.ih regerror.ih
  Log:
  Don't delete .ih files when doing a make clean, and add them to the
  distribution.
  
  Revision  Changes    Path
  1.4       +0 -1      apache/src/regex/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  RCS file: /export/home/cvs/apache/src/regex/.cvsignore,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -c -C3 -r1.3 -r1.4
  *** .cvsignore	1997/07/05 22:09:29	1.3
  --- .cvsignore	1997/07/08 18:05:38	1.4
  ***************
  *** 1,4 ****
  - *.ih
    re
    Debug
    Release
  --- 1,3 ----
  
  
  
  1.5       +1 -1      apache/src/regex/Makefile
  
  Index: Makefile
  ===================================================================
  RCS file: /export/home/cvs/apache/src/regex/Makefile,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -c -C3 -r1.4 -r1.5
  *** Makefile	1996/07/28 10:32:19	1.4
  --- Makefile	1997/07/08 18:05:39	1.5
  ***************
  *** 126,132 ****
    	rm -f junk* core core.* *.core dtr *.tmp lint
    
    clean:	tidy
  ! 	rm -f *.o *.s *.ih re libregex.a
    
    # don't do this one unless you know what you're doing
    spotless:	clean
  --- 126,132 ----
    	rm -f junk* core core.* *.core dtr *.tmp lint
    
    clean:	tidy
  ! 	rm -f *.o *.s re libregex.a
    
    # don't do this one unless you know what you're doing
    spotless:	clean
  
  
  
  1.1                  apache/src/regex/engine.ih
  
  Index: engine.ih
  ===================================================================
  /* ========= begin header generated by ./mkh ========= */
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /* === engine.c === */
  static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
  static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev);
  static char *fast(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  static char *slow(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  static states step(register struct re_guts *g, sopno start, sopno stop, register states bef, int ch, register states aft);
  #define	BOL	(OUT+1)
  #define	EOL	(BOL+1)
  #define	BOLEOL	(BOL+2)
  #define	NOTHING	(BOL+3)
  #define	BOW	(BOL+4)
  #define	EOW	(BOL+5)
  #define	CODEMAX	(BOL+5)		/* highest code used */
  #define	NONCHAR(c)	((c) > CHAR_MAX)
  #define	NNONCHAR	(CODEMAX-CHAR_MAX)
  #ifdef REDEBUG
  static void print(struct match *m, char *caption, states st, int ch, FILE *d);
  #endif
  #ifdef REDEBUG
  static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
  #endif
  #ifdef REDEBUG
  static char *pchar(int ch);
  #endif
  
  #ifdef __cplusplus
  }
  #endif
  /* ========= end header generated by ./mkh ========= */
  
  
  
  1.1                  apache/src/regex/regcomp.ih
  
  Index: regcomp.ih
  ===================================================================
  /* ========= begin header generated by ./mkh ========= */
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /* === regcomp.c === */
  static void p_ere(register struct parse *p, int stop);
  static void p_ere_exp(register struct parse *p);
  static void p_str(register struct parse *p);
  static void p_bre(register struct parse *p, register int end1, register int end2);
  static int p_simp_re(register struct parse *p, int starordinary);
  static int p_count(register struct parse *p);
  static void p_bracket(register struct parse *p);
  static void p_b_term(register struct parse *p, register cset *cs);
  static void p_b_cclass(register struct parse *p, register cset *cs);
  static void p_b_eclass(register struct parse *p, register cset *cs);
  static char p_b_symbol(register struct parse *p);
  static char p_b_coll_elem(register struct parse *p, int endc);
  static char othercase(int ch);
  static void bothcases(register struct parse *p, int ch);
  static void ordinary(register struct parse *p, register int ch);
  static void nonnewline(register struct parse *p);
  static void repeat(register struct parse *p, sopno start, int from, int to);
  static int seterr(register struct parse *p, int e);
  static cset *allocset(register struct parse *p);
  static void freeset(register struct parse *p, register cset *cs);
  static int freezeset(register struct parse *p, register cset *cs);
  static int firstch(register struct parse *p, register cset *cs);
  static int nch(register struct parse *p, register cset *cs);
  static void mcadd(register struct parse *p, register cset *cs, register char *cp);
  static void mcinvert(register struct parse *p, register cset *cs);
  static void mccase(register struct parse *p, register cset *cs);
  static int isinsets(register struct re_guts *g, int c);
  static int samesets(register struct re_guts *g, int c1, int c2);
  static void categorize(struct parse *p, register struct re_guts *g);
  static sopno dupl(register struct parse *p, sopno start, sopno finish);
  static void doemit(register struct parse *p, sop op, size_t opnd);
  static void doinsert(register struct parse *p, sop op, size_t opnd, sopno pos);
  static void dofwd(register struct parse *p, sopno pos, sop value);
  static void enlarge(register struct parse *p, sopno size);
  static void stripsnug(register struct parse *p, register struct re_guts *g);
  static void findmust(register struct parse *p, register struct re_guts *g);
  static sopno pluscount(register struct parse *p, register struct re_guts *g);
  
  #ifdef __cplusplus
  }
  #endif
  /* ========= end header generated by ./mkh ========= */
  
  
  
  1.1                  apache/src/regex/regerror.ih
  
  Index: regerror.ih
  ===================================================================
  /* ========= begin header generated by ./mkh ========= */
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  /* === regerror.c === */
  static char *regatoi(const regex_t *preg, char *localbuf);
  
  #ifdef __cplusplus
  }
  #endif
  /* ========= end header generated by ./mkh ========= */