diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-03-09 13:45:30 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-03-09 13:45:30 +0000 |
commit | 7f46837f634959685269c98c9e8370762c3b74d1 (patch) | |
tree | 11a7c0daf27237b27a8ba629b2ae03abe6576cf8 /perly.h | |
parent | 03ca120dd65c92dac47010526eabc9f1009766e3 (diff) | |
download | perl-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.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |