]> git.saurik.com Git - bison.git/commit - data/yacc.c
* data/yacc.c (YYID, yy_stack_print): Prefix local vars with "yy"
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Jul 2006 07:38:12 +0000 (07:38 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 9 Jul 2006 07:38:12 +0000 (07:38 +0000)
commitcd9e1ba28d2ee5036db6bf932104d63a3eac76a7
tree9c064797d3343c1920c6810efb66e093ead65dc4
parentb8445a158c56fcc1058cd6b53549651b75c3f103
* data/yacc.c (YYID, yy_stack_print): Prefix local vars with "yy"
so they don't collide with user-defined macros.
(yy_stack_print): Don't assume that yytype_int16 promotes to int;
this was never guaranteed, and now that we're using gnulib stdint,
which defines int_fast16_t to long int, the problem is exposed.
ChangeLog
data/yacc.c