/[bison]/bison/src/reader.c
ViewVC logotype

Diff of /bison/src/reader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.123 by akim, Mon Dec 17 17:32:39 2001 UTC revision 1.124 by akim, Thu Dec 27 18:04:28 2001 UTC
# Line 1738  symbols_save (void) Line 1738  symbols_save (void)
1738        if (c != '\0')        if (c != '\0')
1739          continue;          continue;
1740    
1741        obstack_fgrow2 (&tokendefs, "# define\t%s\t%d\n",        obstack_fgrow2 (&tokendefs, "# define %s\t%d\n",
1742                        symbol, bp->user_token_number);                        symbol, bp->user_token_number);
1743        if (semantic_parser)        if (semantic_parser)
1744          /* FIXME: This is probably wrong, and should be just as          /* FIXME: This is probably wrong, and should be just as
1745             above. --akim.  */             above. --akim.  */
1746          obstack_fgrow2 (&tokendefs, "# define\tT%s\t%d\n", symbol, bp->value);          obstack_fgrow2 (&tokendefs, "# define T%s\t%d\n", symbol, bp->value);
1747      }      }
1748    
1749    obstack_1grow (&tokendefs, 0);    obstack_1grow (&tokendefs, 0);

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26