]> git.saurik.com Git - bison.git/commitdiff
(Parser::stos_) [! YYDEBUG]: Define even in this
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Apr 2004 05:48:39 +0000 (05:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Apr 2004 05:48:39 +0000 (05:48 +0000)
case, as stos_ is now used by destructors due to the 2004-02-09
change.

data/lalr1.cc

index fba29b3b7b014f21f064f321ccf3ec0be83b73fc..9ac1677d804b965b21b7ded69af4d2d7c26833d6 100644 (file)
@@ -783,7 +783,6 @@ yy::]b4_parser_class_name[::check_[] =
   ]b4_check[
 };
 
   ]b4_check[
 };
 
-#if YYDEBUG
 /* STOS_[STATE-NUM] -- The (internal number of the) accessing
    symbol of state STATE-NUM.  */
 const ]b4_int_type_for([b4_stos])[
 /* STOS_[STATE-NUM] -- The (internal number of the) accessing
    symbol of state STATE-NUM.  */
 const ]b4_int_type_for([b4_stos])[
@@ -792,6 +791,7 @@ yy::]b4_parser_class_name[::stos_[] =
   ]b4_stos[
 };
 
   ]b4_stos[
 };
 
+#if YYDEBUG
 /* TOKEN_NUMBER_[YYLEX-NUM] -- Internal token number corresponding
    to YYLEX-NUM.  */
 const ]b4_int_type_for([b4_toknum])[
 /* TOKEN_NUMBER_[YYLEX-NUM] -- Internal token number corresponding
    to YYLEX-NUM.  */
 const ]b4_int_type_for([b4_toknum])[