up patchlevel &c
[p5sagit/p5-mst-13.2.git] / regnodes.h
index c64c4b7..030fa1a 100644 (file)
@@ -1,9 +1,9 @@
 /* !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
-   This file is built by regcomp.pl from regcomp.sym.  
+   This file is built by regcomp.pl from regcomp.sym.
    Any changes made here will be lost!
 */
 
-#define        END     0       /*  0x0 End of program. */
+#define        END     0       /*    0 End of program. */
 #define        SUCCEED 1       /*  0x1 Return from a subroutine, basically. */
 #define        BOL     2       /*  0x2 Match "" at beginning of line. */
 #define        MBOL    3       /*  0x3 Same, assuming multiline. */
@@ -21,7 +21,7 @@
 #define        NBOUNDL 15      /*  0xf Match "" at any word non-boundary */
 #define        NBOUNDLUTF8     16      /* 0x10 Match "" at any word non-boundary */
 #define        GPOS    17      /* 0x11 Matches where last m//g left off. */
-#define        ANY     18      /* 0x12 Match any one character (except newline). */
+#define        REG_ANY 18      /* 0x12 Match any one character (except newline). */
 #define        ANYUTF8 19      /* 0x13 Match any one Unicode character (except newline). */
 #define        SANY    20      /* 0x14 Match any one character. */
 #define        SANYUTF8        21      /* 0x15 Match any one Unicode character. */
@@ -81,9 +81,9 @@
 #define        OPTIMIZED       75      /* 0x4b Placeholder for dump. */
 
 #ifndef DOINIT
-EXTCONST U8 regkind[];
+EXTCONST U8 PL_regkind[];
 #else
-EXTCONST U8 regkind[] = {
+EXTCONST U8 PL_regkind[] = {
        END,            /* END */
        END,            /* SUCCEED */
        BOL,            /* BOL */
@@ -102,10 +102,10 @@ EXTCONST U8 regkind[] = {
        NBOUND,         /* NBOUNDL */
        NBOUND,         /* NBOUNDLUTF8 */
        GPOS,           /* GPOS */
-       ANY,            /* ANY */
-       ANY,            /* ANYUTF8 */
-       ANY,            /* SANY */
-       ANY,            /* SANYUTF8 */
+       REG_ANY,                /* REG_ANY */
+       REG_ANY,                /* ANYUTF8 */
+       REG_ANY,                /* SANY */
+       REG_ANY,                /* SANYUTF8 */
        ANYOF,          /* ANYOF */
        ANYOF,          /* ANYOFUTF8 */
        ALNUM,          /* ALNUM */
@@ -184,7 +184,7 @@ const static U8 regarglen[] = {
        0,              /* NBOUNDL */
        0,              /* NBOUNDLUTF8 */
        0,              /* GPOS */
-       0,              /* ANY */
+       0,              /* REG_ANY */
        0,              /* ANYUTF8 */
        0,              /* SANY */
        0,              /* SANYUTF8 */
@@ -263,7 +263,7 @@ const static char reg_off_by_arg[] = {
        0,              /* NBOUNDL */
        0,              /* NBOUNDLUTF8 */
        0,              /* GPOS */
-       0,              /* ANY */
+       0,              /* REG_ANY */
        0,              /* ANYUTF8 */
        0,              /* SANY */
        0,              /* SANYUTF8 */
@@ -322,5 +322,89 @@ const static char reg_off_by_arg[] = {
        1,              /* RENUM */
        0,              /* OPTIMIZED */
 };
+
+#ifdef DEBUGGING
+const static char * const reg_name[] = {
+       "END",          /*    0 */
+       "SUCCEED",              /*  0x1 */
+       "BOL",          /*  0x2 */
+       "MBOL",         /*  0x3 */
+       "SBOL",         /*  0x4 */
+       "EOS",          /*  0x5 */
+       "EOL",          /*  0x6 */
+       "MEOL",         /*  0x7 */
+       "SEOL",         /*  0x8 */
+       "BOUND",                /*  0x9 */
+       "BOUNDUTF8",            /*  0xa */
+       "BOUNDL",               /*  0xb */
+       "BOUNDLUTF8",           /*  0xc */
+       "NBOUND",               /*  0xd */
+       "NBOUNDUTF8",           /*  0xe */
+       "NBOUNDL",              /*  0xf */
+       "NBOUNDLUTF8",          /* 0x10 */
+       "GPOS",         /* 0x11 */
+       "REG_ANY",              /* 0x12 */
+       "ANYUTF8",              /* 0x13 */
+       "SANY",         /* 0x14 */
+       "SANYUTF8",             /* 0x15 */
+       "ANYOF",                /* 0x16 */
+       "ANYOFUTF8",            /* 0x17 */
+       "ALNUM",                /* 0x18 */
+       "ALNUMUTF8",            /* 0x19 */
+       "ALNUML",               /* 0x1a */
+       "ALNUMLUTF8",           /* 0x1b */
+       "NALNUM",               /* 0x1c */
+       "NALNUMUTF8",           /* 0x1d */
+       "NALNUML",              /* 0x1e */
+       "NALNUMLUTF8",          /* 0x1f */
+       "SPACE",                /* 0x20 */
+       "SPACEUTF8",            /* 0x21 */
+       "SPACEL",               /* 0x22 */
+       "SPACELUTF8",           /* 0x23 */
+       "NSPACE",               /* 0x24 */
+       "NSPACEUTF8",           /* 0x25 */
+       "NSPACEL",              /* 0x26 */
+       "NSPACELUTF8",          /* 0x27 */
+       "DIGIT",                /* 0x28 */
+       "DIGITUTF8",            /* 0x29 */
+       "NDIGIT",               /* 0x2a */
+       "NDIGITUTF8",           /* 0x2b */
+       "CLUMP",                /* 0x2c */
+       "BRANCH",               /* 0x2d */
+       "BACK",         /* 0x2e */
+       "EXACT",                /* 0x2f */
+       "EXACTF",               /* 0x30 */
+       "EXACTFL",              /* 0x31 */
+       "NOTHING",              /* 0x32 */
+       "TAIL",         /* 0x33 */
+       "STAR",         /* 0x34 */
+       "PLUS",         /* 0x35 */
+       "CURLY",                /* 0x36 */
+       "CURLYN",               /* 0x37 */
+       "CURLYM",               /* 0x38 */
+       "CURLYX",               /* 0x39 */
+       "WHILEM",               /* 0x3a */
+       "OPEN",         /* 0x3b */
+       "CLOSE",                /* 0x3c */
+       "REF",          /* 0x3d */
+       "REFF",         /* 0x3e */
+       "REFFL",                /* 0x3f */
+       "IFMATCH",              /* 0x40 */
+       "UNLESSM",              /* 0x41 */
+       "SUSPEND",              /* 0x42 */
+       "IFTHEN",               /* 0x43 */
+       "GROUPP",               /* 0x44 */
+       "LONGJMP",              /* 0x45 */
+       "BRANCHJ",              /* 0x46 */
+       "EVAL",         /* 0x47 */
+       "MINMOD",               /* 0x48 */
+       "LOGICAL",              /* 0x49 */
+       "RENUM",                /* 0x4a */
+       "OPTIMIZED",            /* 0x4b */
+};
+
+const static int reg_num = 76;
+
+#endif /* DEBUGGING */
 #endif /* REG_COMP_C */