*/
#ifndef DOINIT
-EXT const U8 regkind[];
+EXTCONST U8 regkind[];
#else
-EXT const U8 regkind[] = {
+EXTCONST U8 regkind[] = {
END,
BOL,
BOL,
/* The following have no fixed length. char* since we do strchr on it. */
#ifndef DOINIT
-EXT const char varies[];
+EXTCONST char varies[];
#else
-EXT const char varies[] = {
+EXTCONST char varies[] = {
BRANCH, BACK, STAR, PLUS, CURLY, CURLYX, REF, REFF, REFFL,
WHILEM, CURLYM, CURLYN, BRANCHJ, IFTHEN, SUSPEND, 0
};
/* The following always have a length of 1. char* since we do strchr on it. */
#ifndef DOINIT
-EXT const char simple[];
+EXTCONST char simple[];
#else
-EXT const char simple[] = {
+EXTCONST char simple[] = {
ANY, SANY, ANYOF,
ALNUM, ALNUML, NALNUM, NALNUML,
SPACE, SPACEL, NSPACE, NSPACEL,
};
#endif
-struct reg_data {
- U32 count;
- U8 *what;
- void* data[1];
-};
-
#define REG_SEEN_ZERO_LEN 1
#define REG_SEEN_LOOKBEHIND 2
#define REG_SEEN_GPOS 4
#ifdef DEBUGGING
extern char *colors[4];
#endif
-
-void re_croak2 _((const char* pat1,const char* pat2,...)) __attribute__((noreturn));