summaryrefslogtreecommitdiff
path: root/perly.tab
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2014-10-26 11:17:47 +0100
committerFather Chrysostomos <sprout@cpan.org>2014-10-26 12:42:38 -0700
commit03d05f6e34ec0d195930f4155352c2082f8dff3a (patch)
tree2cac7fcd03dd585bb31c566abcccaa735209c863 /perly.tab
parent90d141c4a9322a9b132806feee6144ea36c9c7fb (diff)
downloadperl-03d05f6e34ec0d195930f4155352c2082f8dff3a.tar.gz
rename convert to op_convert_list and APIfy
Diffstat (limited to 'perly.tab')
-rw-r--r--perly.tab39
1 files changed, 22 insertions, 17 deletions
diff --git a/perly.tab b/perly.tab
index cc72890a43..f6768bea0a 100644
--- a/perly.tab
+++ b/perly.tab
@@ -220,7 +220,7 @@ static const yytype_uint16 yyrline[] =
};
#endif
-#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
+#if YYDEBUG || YYERROR_VERBOSE || 0
/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
First, the terminals, then, starting at YYNTOKENS, nonterminals. */
static const char *const yytname[] =
@@ -239,19 +239,19 @@ static const char *const yytname[] =
"ANDOP", "NOTOP", "','", "ASSIGNOP", "'?'", "':'", "DORDOR", "OROR",
"ANDAND", "BITOROP", "BITANDOP", "SHIFTOP", "MATCHOP", "'!'", "'~'",
"REFGEN", "UMINUS", "POWOP", "POSTJOIN", "POSTDEC", "POSTINC", "PREDEC",
- "PREINC", "ARROW", "')'", "'('", "$accept", "grammar", "@1", "@2", "@3",
- "@4", "@5", "@6", "block", "formblock", "remember", "mblock",
+ "PREINC", "ARROW", "')'", "'('", "$accept", "grammar", "$@1", "$@2",
+ "$@3", "$@4", "$@5", "$@6", "block", "formblock", "remember", "mblock",
"mremember", "stmtseq", "formstmtseq", "fullstmt", "labfullstmt",
- "barestmt", "@7", "@8", "@9", "@10", "@11", "@12", "formline", "formarg",
- "sideff", "else", "cont", "mintro", "nexpr", "texpr", "iexpr", "mexpr",
- "mnexpr", "miexpr", "formname", "startsub", "startanonsub",
+ "barestmt", "$@7", "$@8", "$@9", "$@10", "@11", "$@12", "formline",
+ "formarg", "sideff", "else", "cont", "mintro", "nexpr", "texpr", "iexpr",
+ "mexpr", "mnexpr", "miexpr", "formname", "startsub", "startanonsub",
"startformsub", "subname", "proto", "subattrlist", "myattrlist",
"subsignature", "@13", "realsubbody", "optsubbody", "expr", "listexpr",
"listop", "@14", "method", "subscripted", "termbinop", "termunop",
"anonymous", "termdo", "term", "@15", "myattrterm", "myterm",
"optlistexpr", "optexpr", "my_scalar", "my_var", "refgen_topic", "amper",
"scalar", "ary", "hsh", "arylen", "star", "sliceme", "kvslice", "gelem",
- "indirob", 0
+ "indirob", YY_NULL
};
#endif
@@ -336,8 +336,8 @@ static const yytype_uint8 yyr2[] =
1
};
-/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
- STATE-NUM when YYTABLE doesn't specify something else to do. Zero
+/* YYDEFACT[STATE-NAME] -- Default reduction number in state STATE-NUM.
+ Performed when YYTABLE doesn't specify something else to do. Zero
means the default is an error. */
static const yytype_uint8 yydefact[] =
{
@@ -478,8 +478,7 @@ static const yytype_int16 yypgoto[] =
/* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
positive, shift that token. If negative, reduce the rule which
- number is the opposite. If zero, do what YYDEFACT says.
- If YYTABLE_NINF, syntax error. */
+ number is the opposite. If YYTABLE_NINF, syntax error. */
#define YYTABLE_NINF -246
static const yytype_int16 yytable[] =
{
@@ -764,6 +763,12 @@ static const yytype_int16 yytable[] =
182, 183, 0, 0, 184
};
+#define yypact_value_is_default(Yystate) \
+ (!!((Yystate) == (-416)))
+
+#define yytable_value_is_error(Yytable_value) \
+ (!!((Yytable_value) == (-246)))
+
static const yytype_int16 yycheck[] =
{
10, 11, 12, 15, 48, 406, 9, 15, 48, 42,
@@ -1124,12 +1129,12 @@ static const toketypes yy_type_tab[] =
toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival,
toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival,
toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival,
- toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival,
- toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_ival, toketype_opval,
+ toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival,
+ toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval, toketype_ival, toketype_opval,
toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
- toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval, toketype_opval,
- toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
- toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_ival,
+ toketype_opval, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_ival, toketype_opval,
+ toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval,
+ toketype_opval, toketype_opval, toketype_opval, toketype_opval, toketype_ival, toketype_ival,
toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
toketype_opval, toketype_ival, toketype_opval, toketype_opval, toketype_opval, toketype_opval,
@@ -1140,6 +1145,6 @@ static const toketypes yy_type_tab[] =
};
/* Generated from:
- * 6943e6446c58ec52809f6821c15ff693b4d7c34f62c8a1b616279c2a66e3d62f perly.y
+ * acfba7616277d65c961140e70755bfce7328b5238b69030cd63c78d363a9736c perly.y
* d1d4df7b8e30ac9dede664af9179e6e5e7ddc7f2ad9c4eff9e2e5b32c9e16a6e regen_perly.pl
* ex: set ro: */