summaryrefslogtreecommitdiff
path: root/perly.y
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.y
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.y')
-rw-r--r--perly.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/perly.y b/perly.y
index c81cee35ba..cbd2f7a848 100644
--- a/perly.y
+++ b/perly.y
@@ -30,6 +30,9 @@
%union {
I32 ival;
char *pval;
+#ifdef PERL_MAD
+ TOKEN* tkval;
+#endif
OP *opval;
GV *gvval;
}
@@ -92,6 +95,8 @@
%left '('
%left '[' '{'
+%token PEG
+
%% /* RULES */
/* The whole program */