X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/869b8c119a7436d3373e1325925a8b753d0e7805..6fdd32c3b5307fa3651036eb68d171c819c083b6:/perly.h diff --git a/perly.h b/perly.h index b45c5f6..0cbbf3b 100644 --- a/perly.h +++ b/perly.h @@ -4,14 +4,15 @@ Any changes made here will be lost! */ -#define PERL_BISON_VERSION 30000 +#define PERL_BISON_VERSION 30003 #ifdef PERL_CORE -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.3.2. */ /* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,6 +40,9 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +/* Undocumented macros, especially those whose name start with YY_, + are private implementation details. Do not rely on them. */ + /* Debug traces. */ #ifndef YYDEBUG # define YYDEBUG 0 @@ -58,79 +62,87 @@ extern int yydebug; GRAMBARESTMT = 261, GRAMFULLSTMT = 262, GRAMSTMTSEQ = 263, - BAREWORD = 264, - METHOD = 265, - FUNCMETH = 266, - THING = 267, - PMFUNC = 268, - PRIVATEREF = 269, - QWLIST = 270, - FUNC0OP = 271, - FUNC0SUB = 272, - UNIOPSUB = 273, - LSTOPSUB = 274, - PLUGEXPR = 275, - PLUGSTMT = 276, - LABEL = 277, - FORMAT = 278, - SUB = 279, - ANONSUB = 280, - PACKAGE = 281, - USE = 282, - WHILE = 283, - UNTIL = 284, - IF = 285, - UNLESS = 286, - ELSE = 287, - ELSIF = 288, - CONTINUE = 289, - FOR = 290, - GIVEN = 291, - WHEN = 292, - LOOPEX = 293, - DOTDOT = 294, - YADAYADA = 295, - FUNC0 = 296, - FUNC1 = 297, - FUNC = 298, - UNIOP = 299, - LSTOP = 300, - RELOP = 301, - EQOP = 302, - MULOP = 303, - ADDOP = 304, - DOLSHARP = 305, - DO = 306, - HASHBRACK = 307, - NOAMP = 308, - LOCAL = 309, - MY = 310, - REQUIRE = 311, - COLONATTR = 312, - FORMLBRACK = 313, - FORMRBRACK = 314, - PREC_LOW = 315, - OROP = 316, - DOROP = 317, - ANDOP = 318, - NOTOP = 319, - ASSIGNOP = 320, - OROR = 321, - DORDOR = 322, - ANDAND = 323, - BITOROP = 324, - BITANDOP = 325, - SHIFTOP = 326, - MATCHOP = 327, - UMINUS = 328, - REFGEN = 329, - POWOP = 330, - PREINC = 331, - PREDEC = 332, - POSTINC = 333, - POSTDEC = 334, - POSTJOIN = 335, - ARROW = 336 + GRAMSUBSIGNATURE = 264, + BAREWORD = 265, + METHOD = 266, + FUNCMETH = 267, + THING = 268, + PMFUNC = 269, + PRIVATEREF = 270, + QWLIST = 271, + FUNC0OP = 272, + FUNC0SUB = 273, + UNIOPSUB = 274, + LSTOPSUB = 275, + PLUGEXPR = 276, + PLUGSTMT = 277, + LABEL = 278, + FORMAT = 279, + SUB = 280, + SIGSUB = 281, + ANONSUB = 282, + ANON_SIGSUB = 283, + PACKAGE = 284, + USE = 285, + WHILE = 286, + UNTIL = 287, + IF = 288, + UNLESS = 289, + ELSE = 290, + ELSIF = 291, + CONTINUE = 292, + FOR = 293, + GIVEN = 294, + WHEN = 295, + DEFAULT = 296, + LOOPEX = 297, + DOTDOT = 298, + YADAYADA = 299, + FUNC0 = 300, + FUNC1 = 301, + FUNC = 302, + UNIOP = 303, + LSTOP = 304, + MULOP = 305, + ADDOP = 306, + DOLSHARP = 307, + DO = 308, + HASHBRACK = 309, + NOAMP = 310, + LOCAL = 311, + MY = 312, + REQUIRE = 313, + COLONATTR = 314, + FORMLBRACK = 315, + FORMRBRACK = 316, + SUBLEXSTART = 317, + SUBLEXEND = 318, + PREC_LOW = 319, + OROP = 320, + DOROP = 321, + ANDOP = 322, + NOTOP = 323, + ASSIGNOP = 324, + OROR = 325, + DORDOR = 326, + ANDAND = 327, + BITOROP = 328, + BITANDOP = 329, + CHEQOP = 330, + NCEQOP = 331, + CHRELOP = 332, + NCRELOP = 333, + SHIFTOP = 334, + MATCHOP = 335, + UMINUS = 336, + REFGEN = 337, + POWOP = 338, + PREINC = 339, + PREDEC = 340, + POSTINC = 341, + POSTDEC = 342, + POSTJOIN = 343, + ARROW = 344 }; #endif @@ -143,6 +155,7 @@ S_is_opval_token(int type) { case FUNC0OP: case FUNC0SUB: case FUNCMETH: + case LABEL: case LSTOPSUB: case METHOD: case PLUGEXPR: @@ -159,7 +172,7 @@ S_is_opval_token(int type) { #endif /* PERL_IN_TOKE_C */ #endif /* PERL_CORE */ #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED -typedef union YYSTYPE YYSTYPE; + union YYSTYPE { @@ -170,6 +183,8 @@ union YYSTYPE GV *gvval; }; + +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -180,6 +195,6 @@ int yyparse (void); /* Generated from: - * 233778626e1c4f8b4103ca96d66b107b4527a7b7304f05e373aef634cc4b6f81 perly.y - * b6fae5748f9bef6db4740aa5e122b84ac5181852d42474d0ecad621fa4253306 regen_perly.pl + * f83d884147747f2d8f5a62eebc4ccd07d71b6b34e5ba1a8d7559526ad864dc97 perly.y + * 01ce33b49f9f04b8d3112b7f042cde113a7d29763a846e870f9766072a5bc614 regen_perly.pl * ex: set ro: */