X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/5b9ec8a25e399059e3f37bbf00434934e7e34eaa..669dd22c48876f64e654ab5a755cf115f927ebdf:/perly.h diff --git a/perly.h b/perly.h index 20436f3..3d3f33b 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 30005 #ifdef PERL_CORE -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.5.1. */ /* 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-2020 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,80 +62,90 @@ 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, - DEFAULT = 293, - LOOPEX = 294, - DOTDOT = 295, - YADAYADA = 296, - FUNC0 = 297, - FUNC1 = 298, - FUNC = 299, - UNIOP = 300, - LSTOP = 301, - RELOP = 302, - EQOP = 303, - MULOP = 304, - ADDOP = 305, - DOLSHARP = 306, - DO = 307, - HASHBRACK = 308, - NOAMP = 309, - LOCAL = 310, - MY = 311, - REQUIRE = 312, - COLONATTR = 313, - FORMLBRACK = 314, - FORMRBRACK = 315, - PREC_LOW = 316, - OROP = 317, - DOROP = 318, - ANDOP = 319, - NOTOP = 320, - ASSIGNOP = 321, - OROR = 322, - DORDOR = 323, - ANDAND = 324, - BITOROP = 325, - BITANDOP = 326, - SHIFTOP = 327, - MATCHOP = 328, - UMINUS = 329, - REFGEN = 330, - POWOP = 331, - PREINC = 332, - PREDEC = 333, - POSTINC = 334, - POSTDEC = 335, - POSTJOIN = 336, - ARROW = 337 + GRAMSUBSIGNATURE = 264, + PERLY_BRACE_OPEN = 265, + PERLY_BRACE_CLOSE = 266, + PERLY_BRACKET_OPEN = 267, + BAREWORD = 268, + METHOD = 269, + FUNCMETH = 270, + THING = 271, + PMFUNC = 272, + PRIVATEREF = 273, + QWLIST = 274, + FUNC0OP = 275, + FUNC0SUB = 276, + UNIOPSUB = 277, + LSTOPSUB = 278, + PLUGEXPR = 279, + PLUGSTMT = 280, + LABEL = 281, + FORMAT = 282, + SUB = 283, + SIGSUB = 284, + ANONSUB = 285, + ANON_SIGSUB = 286, + PACKAGE = 287, + USE = 288, + WHILE = 289, + UNTIL = 290, + IF = 291, + UNLESS = 292, + ELSE = 293, + ELSIF = 294, + CONTINUE = 295, + FOR = 296, + GIVEN = 297, + WHEN = 298, + DEFAULT = 299, + LOOPEX = 300, + DOTDOT = 301, + YADAYADA = 302, + FUNC0 = 303, + FUNC1 = 304, + FUNC = 305, + UNIOP = 306, + LSTOP = 307, + MULOP = 308, + ADDOP = 309, + DOLSHARP = 310, + DO = 311, + HASHBRACK = 312, + NOAMP = 313, + LOCAL = 314, + MY = 315, + REQUIRE = 316, + COLONATTR = 317, + FORMLBRACK = 318, + FORMRBRACK = 319, + SUBLEXSTART = 320, + SUBLEXEND = 321, + PREC_LOW = 322, + OROP = 323, + DOROP = 324, + ANDOP = 325, + NOTOP = 326, + ASSIGNOP = 327, + OROR = 328, + DORDOR = 329, + ANDAND = 330, + BITOROP = 331, + BITANDOP = 332, + CHEQOP = 333, + NCEQOP = 334, + CHRELOP = 335, + NCRELOP = 336, + SHIFTOP = 337, + MATCHOP = 338, + UMINUS = 339, + REFGEN = 340, + POWOP = 341, + PREINC = 342, + PREDEC = 343, + POSTINC = 344, + POSTDEC = 345, + POSTJOIN = 346, + ARROW = 347 }; #endif @@ -144,6 +158,7 @@ S_is_opval_token(int type) { case FUNC0OP: case FUNC0SUB: case FUNCMETH: + case LABEL: case LSTOPSUB: case METHOD: case PLUGEXPR: @@ -160,7 +175,6 @@ 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,7 +184,9 @@ union YYSTYPE OP *opval; GV *gvval; + }; +typedef union YYSTYPE YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define YYSTYPE_IS_DECLARED 1 #endif @@ -181,6 +197,6 @@ int yyparse (void); /* Generated from: - * 218308e5b4f3720eeeba65e3c85ff9d92b85ab8f32d53eb3cbdaa99790b03a63 perly.y - * 3e1dff60f26df8933d7aed0c0e87177a0f022c14800c0707eb62a7db4196ac98 regen_perly.pl + * 883f6f1e0d3238970b1150357f43ffd314c4c0cf49d200ed974b8e8c8cc00430 perly.y + * acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl * ex: set ro: */