mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
new upstream
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
10
quiz/rxp.c
10
quiz/rxp.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user