new upstream

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2004-02-14 21:35:37 +00:00
parent 26fb70d304
commit a02c126403
224 changed files with 5624 additions and 2217 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: rxp.c,v 1.11 2003/08/07 09:37:34 agc Exp $ */
/* $NetBSD: rxp.c,v 1.12 2004/01/27 20:30:30 jsm Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)rxp.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: rxp.c,v 1.11 2003/08/07 09:37:34 agc Exp $");
__RCSID("$NetBSD: rxp.c,v 1.12 2004/01/27 20:30:30 jsm Exp $");
#endif
#endif /* not lint */
@@ -82,9 +82,9 @@ typedef short Rxp_t; /* type for regexp tokens */
static Rxp_t rxpbuf[RXP_LINE_SZ]; /* compiled regular expression buffer */
char rxperr[128]; /* parser error message */
static int rxp__compile __P((const char *, int));
static char *rxp__expand __P((int));
static int rxp__match __P((const char *, int, Rxp_t *, Rxp_t *, const char *));
static int rxp__compile(const char *, int);
static char *rxp__expand(int);
static int rxp__match(const char *, int, Rxp_t *, Rxp_t *, const char *);
int
rxp_compile(s)