summaryrefslogtreecommitdiff
path: root/perly.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-09 13:45:30 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-09 13:45:30 +0000
commit7f46837f634959685269c98c9e8370762c3b74d1 (patch)
tree11a7c0daf27237b27a8ba629b2ae03abe6576cf8 /perly.h
parent03ca120dd65c92dac47010526eabc9f1009766e3 (diff)
downloadperl-7f46837f634959685269c98c9e8370762c3b74d1.tar.gz
Add the MAD change to perly.y, which brings a new PEG token.
p4raw-id: //depot/perl@27437
Diffstat (limited to 'perly.h')
-rw-r--r--perly.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/perly.h b/perly.h
index 7c6ec9979b..c5b5494bfc 100644
--- a/perly.h
+++ b/perly.h
@@ -96,7 +96,8 @@
POSTINC = 321,
PREDEC = 322,
PREINC = 323,
- ARROW = 324
+ ARROW = 324,
+ PEG = 325
};
#endif
/* Tokens. */
@@ -167,6 +168,7 @@
#define PREDEC 322
#define PREINC 323
#define ARROW 324
+#define PEG 325
@@ -177,11 +179,14 @@
typedef union YYSTYPE {
I32 ival;
char *pval;
+#ifdef PERL_MAD
+ TOKEN* tkval;
+#endif
OP *opval;
GV *gvval;
} YYSTYPE;
/* Line 1447 of yacc.c. */
-#line 183 "perly.h"
+#line 188 "perly.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1