This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Distinguish C- and perly- literals - PERLY_BRACE_CLOSE
[perl5.git] / perly.h
diff --git a/perly.h b/perly.h
index 6677122..b91de73 100644 (file)
--- 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,82 +62,89 @@ 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,
-    SIGSUB = 280,
-    ANONSUB = 281,
-    ANON_SIGSUB = 282,
-    PACKAGE = 283,
-    USE = 284,
-    WHILE = 285,
-    UNTIL = 286,
-    IF = 287,
-    UNLESS = 288,
-    ELSE = 289,
-    ELSIF = 290,
-    CONTINUE = 291,
-    FOR = 292,
-    GIVEN = 293,
-    WHEN = 294,
-    DEFAULT = 295,
-    LOOPEX = 296,
-    DOTDOT = 297,
-    YADAYADA = 298,
-    FUNC0 = 299,
-    FUNC1 = 300,
-    FUNC = 301,
-    UNIOP = 302,
-    LSTOP = 303,
-    RELOP = 304,
-    EQOP = 305,
-    MULOP = 306,
-    ADDOP = 307,
-    DOLSHARP = 308,
-    DO = 309,
-    HASHBRACK = 310,
-    NOAMP = 311,
-    LOCAL = 312,
-    MY = 313,
-    REQUIRE = 314,
-    COLONATTR = 315,
-    FORMLBRACK = 316,
-    FORMRBRACK = 317,
-    PREC_LOW = 318,
-    OROP = 319,
-    DOROP = 320,
-    ANDOP = 321,
-    NOTOP = 322,
-    ASSIGNOP = 323,
-    OROR = 324,
-    DORDOR = 325,
-    ANDAND = 326,
-    BITOROP = 327,
-    BITANDOP = 328,
-    SHIFTOP = 329,
-    MATCHOP = 330,
-    UMINUS = 331,
-    REFGEN = 332,
-    POWOP = 333,
-    PREINC = 334,
-    PREDEC = 335,
-    POSTINC = 336,
-    POSTDEC = 337,
-    POSTJOIN = 338,
-    ARROW = 339
+    GRAMSUBSIGNATURE = 264,
+    PERLY_BRACE_OPEN = 265,
+    PERLY_BRACE_CLOSE = 266,
+    BAREWORD = 267,
+    METHOD = 268,
+    FUNCMETH = 269,
+    THING = 270,
+    PMFUNC = 271,
+    PRIVATEREF = 272,
+    QWLIST = 273,
+    FUNC0OP = 274,
+    FUNC0SUB = 275,
+    UNIOPSUB = 276,
+    LSTOPSUB = 277,
+    PLUGEXPR = 278,
+    PLUGSTMT = 279,
+    LABEL = 280,
+    FORMAT = 281,
+    SUB = 282,
+    SIGSUB = 283,
+    ANONSUB = 284,
+    ANON_SIGSUB = 285,
+    PACKAGE = 286,
+    USE = 287,
+    WHILE = 288,
+    UNTIL = 289,
+    IF = 290,
+    UNLESS = 291,
+    ELSE = 292,
+    ELSIF = 293,
+    CONTINUE = 294,
+    FOR = 295,
+    GIVEN = 296,
+    WHEN = 297,
+    DEFAULT = 298,
+    LOOPEX = 299,
+    DOTDOT = 300,
+    YADAYADA = 301,
+    FUNC0 = 302,
+    FUNC1 = 303,
+    FUNC = 304,
+    UNIOP = 305,
+    LSTOP = 306,
+    MULOP = 307,
+    ADDOP = 308,
+    DOLSHARP = 309,
+    DO = 310,
+    HASHBRACK = 311,
+    NOAMP = 312,
+    LOCAL = 313,
+    MY = 314,
+    REQUIRE = 315,
+    COLONATTR = 316,
+    FORMLBRACK = 317,
+    FORMRBRACK = 318,
+    SUBLEXSTART = 319,
+    SUBLEXEND = 320,
+    PREC_LOW = 321,
+    OROP = 322,
+    DOROP = 323,
+    ANDOP = 324,
+    NOTOP = 325,
+    ASSIGNOP = 326,
+    OROR = 327,
+    DORDOR = 328,
+    ANDAND = 329,
+    BITOROP = 330,
+    BITANDOP = 331,
+    CHEQOP = 332,
+    NCEQOP = 333,
+    CHRELOP = 334,
+    NCRELOP = 335,
+    SHIFTOP = 336,
+    MATCHOP = 337,
+    UMINUS = 338,
+    REFGEN = 339,
+    POWOP = 340,
+    PREINC = 341,
+    PREDEC = 342,
+    POSTINC = 343,
+    POSTDEC = 344,
+    POSTJOIN = 345,
+    ARROW = 346
   };
 #endif
 
@@ -146,6 +157,7 @@ S_is_opval_token(int type) {
     case FUNC0OP:
     case FUNC0SUB:
     case FUNCMETH:
+    case LABEL:
     case LSTOPSUB:
     case METHOD:
     case PLUGEXPR:
@@ -162,7 +174,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
 {
 
@@ -172,7 +183,9 @@ union YYSTYPE
     OP *opval;
     GV *gvval;
 
+
 };
+typedef union YYSTYPE YYSTYPE;
 # define YYSTYPE_IS_TRIVIAL 1
 # define YYSTYPE_IS_DECLARED 1
 #endif
@@ -183,6 +196,6 @@ int yyparse (void);
 
 
 /* Generated from:
- * 1464f62136e1c8980247e644a1b280abdab234c9615dcbc70e089ab38123122b perly.y
- * b6fae5748f9bef6db4740aa5e122b84ac5181852d42474d0ecad621fa4253306 regen_perly.pl
+ * 6c3ea5db928a29814d45a0242b73172509984d1db7abce64794b630c401219d7 perly.y
+ * acf1cbfd2545faeaaa58b1cf0cf9d7f98b5be0752eb7a54528ef904a9e2e1ca7 regen_perly.pl
  * ex: set ro: */