bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

symbol_printers_output bug


From: Administrator
Subject: symbol_printers_output bug
Date: Mon, 18 Aug 2003 13:22:08 -0400

In running bison-1.875 under XP I saw use of

 

sym->printer_location.start.file

 

in symbol_printers_output even though I was not printing symbols.

 

I tracked this bug down to the last line in

 

-----------

static void

symbol_printers_output (FILE *out)

{

  int i;

  int first = 1;

 

  fputs ("m4_define([b4_symbol_printers], \n[", out);

  for (i = 0; i < nsyms; ++i)

    if (symbols[i]->destructor)

 

I think the intent here was to test:

 

   If (symbols[i].printer)

 

 

Please confirm if this is indeed the desired correction.

 

Regards, Ian


reply via email to

[Prev in Thread] Current Thread [Next in Thread]