summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perly.tab1
-rw-r--r--regen_perly.pl1
2 files changed, 0 insertions, 2 deletions
diff --git a/perly.tab b/perly.tab
index 6791a646ae..d8d672b85a 100644
--- a/perly.tab
+++ b/perly.tab
@@ -895,7 +895,6 @@ typedef enum {
} toketypes;
/* type of each token/terminal */
-static const toketypes XXX;
static const toketypes yy_type_tab[] =
{
toketype_ival, toketype_ival, toketype_ival, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval, toketype_i_tkval,
diff --git a/regen_perly.pl b/regen_perly.pl
index 9c1d601503..378c5a32bb 100644
--- a/regen_perly.pl
+++ b/regen_perly.pl
@@ -257,7 +257,6 @@ sub make_type_tab {
. join(", ", map "toketype_$_", sort keys %types)
. "\n} toketypes;\n\n"
. "/* type of each token/terminal */\n"
- . "static const toketypes XXX;\n"
. "static const toketypes yy_type_tab[] =\n{\n"
. $fields
. "\n};\n";