From: Dave Mitchell Date: Sat, 16 Dec 2006 15:37:32 +0000 (+0000) Subject: remove extraneous declaration prom perly.tab X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=702119bc891cbff15043348ab2eab5c9d600e0be;p=p5sagit%2Fp5-mst-13.2.git remove extraneous declaration prom perly.tab p4raw-id: //depot/perl@29564 --- diff --git a/perly.tab b/perly.tab index 6791a64..d8d672b 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 9c1d601..378c5a3 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";