This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove extraneous declaration prom perly.tab
authorDave Mitchell <davem@fdisolutions.com>
Sat, 16 Dec 2006 15:37:32 +0000 (15:37 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Sat, 16 Dec 2006 15:37:32 +0000 (15:37 +0000)
p4raw-id: //depot/perl@29564

perly.tab
regen_perly.pl

index 6791a64..d8d672b 100644 (file)
--- 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,
index 9c1d601..378c5a3 100644 (file)
@@ -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";