X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=regexp.h;h=81552baf6cec490c4a2730fc3cdabc483b2db232;hb=1a95e36d92295cabb6c213a2f397c4cb7614d12c;hp=f21d9d37c0278a2fb2f9ec7511e37355d08067a4;hpb=fac927409d5ddf1168d94a45bb6c4c897114b3b0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/regexp.h b/regexp.h index f21d9d3..81552ba 100644 --- a/regexp.h +++ b/regexp.h @@ -1,4 +1,10 @@ /* regexp.h + * + * Copyright (c) 1997-2002, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * */ /* @@ -37,6 +43,7 @@ typedef struct regexp { I32 prelen; /* length of precomp */ U32 nparens; /* number of parentheses */ U32 lastparen; /* last paren matched */ + U32 lastcloseparen; /* last paren matched */ U32 reganch; /* Internal use only + Tainted information used by regexec? */ regnode program[1]; /* Unwarranted chumminess with compiler. */ @@ -55,7 +62,8 @@ typedef struct regexp { #define ROPT_CHECK_ALL 0x00100 #define ROPT_LOOKBEHIND_SEEN 0x00200 #define ROPT_EVAL_SEEN 0x00400 -#define ROPT_SANY_SEEN 0x00800 +#define ROPT_CANY_SEEN 0x00800 +#define ROPT_SANY_SEEN ROPT_CANY_SEEN /* src bckwrd cmpt */ /* 0xf800 of reganch is used by PMf_COMPILETIME */