summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/parser.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-09-24 14:49:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-09-24 14:49:22 +0000
commit87b9916873e5480797c57388e050ddabd3343d6c (patch)
tree3aac9f6a580d7f8af1c77bdfc184a28c4f5e8a28 /gnu/usr.bin/perl/parser.h
parentb7b281a36d0632b20677d583d971dcbcbacc5711 (diff)
Perl 5.12.2 from CPAN
Diffstat (limited to 'gnu/usr.bin/perl/parser.h')
-rw-r--r--gnu/usr.bin/perl/parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/parser.h b/gnu/usr.bin/perl/parser.h
index 74d8ef2197b..4ef460836cc 100644
--- a/gnu/usr.bin/perl/parser.h
+++ b/gnu/usr.bin/perl/parser.h
@@ -15,7 +15,7 @@ typedef struct {
YYSTYPE val; /* semantic value */
short state;
I32 savestack_ix; /* size of savestack at this state */
- AV *comppad; /* value of PL_comppad when this value was created */
+ CV *compcv; /* value of PL_compcv when this value was created */
#ifdef DEBUGGING
const char *name; /* token/rule name for -Dpv */
#endif
@@ -107,6 +107,10 @@ typedef struct yy_parser {
} yy_parser;
+/* flags for lexer API */
+#define LEX_STUFF_UTF8 0x00000001
+#define LEX_KEEP_PREVIOUS 0x00000002
+
/*
* Local variables:
* c-indentation-style: bsd