]> git.saurik.com Git - bison.git/commitdiff
(symbol_printers_output): Fix typo that led
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Jan 2003 08:43:08 +0000 (08:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 17 Jan 2003 08:43:08 +0000 (08:43 +0000)
to core dump.  Problem reported by Antonio Rus in
<http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00058.html>.

src/output.c

index 6b69473f1a0a94f0c3f147ffa6d10b6838b481d8..ad9e5a97a9b30a9bdb2d8eab64801e691dbdb731 100644 (file)
@@ -432,7 +432,7 @@ symbol_printers_output (FILE *out)
 
   fputs ("m4_define([b4_symbol_printers], \n[", out);
   for (i = 0; i < nsyms; ++i)
-    if (symbols[i]->destructor)
+    if (symbols[i]->printer)
       {
        symbol *sym = symbols[i];