summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorTon Hospel <perl5-porters@ton.iguana.be>2005-03-06 18:29:38 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-03-08 17:53:50 +0000
commitf337b084e4f053c4222a0b9a773a9e12c0232e6d (patch)
tree1292203ca74046d2df21ce05bb8f8289ea14bc8d /perl.h
parentc478aefb95db58c5f937ab7c70bba552d23df9b2 (diff)
downloadperl-f337b084e4f053c4222a0b9a773a9e12c0232e6d.tar.gz
Encoding neutral unpack
Message-Id: <d0fi6i$k06$1@post.home.lunix> p4raw-id: //depot/perl@24010
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index b8a9642525..ee51583fe3 100644
--- a/perl.h
+++ b/perl.h
@@ -3700,7 +3700,7 @@ typedef enum {
e_star /* asterisk */
} howlen_t;
-typedef struct {
+typedef struct tempsym {
char* patptr; /* current template char */
char* patend; /* one after last char */
char* grpbeg; /* 1st char of ()-group */
@@ -3711,6 +3711,8 @@ typedef struct {
int level; /* () nesting level */
U32 flags; /* /=4, comma=2, pack=1 */
/* and group modifiers */
+ STRLEN strbeg; /* offset of group start */
+ struct tempsym *previous; /* previous group */
} tempsym_t;
#include "thread.h"