mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 10:13:03 +00:00
build: fix some warnings
Reported by John Horigan. http://lists.gnu.org/archive/html/bug-bison/2015-01/msg00034.html * src/graphviz.c, src/symtab.h: Address compiler warnings.
This commit is contained in:
1
THANKS
1
THANKS
@@ -66,6 +66,7 @@ Jim Kent jkent@arch.sel.sony.com
|
|||||||
Jim Meyering jim@meyering.net
|
Jim Meyering jim@meyering.net
|
||||||
Joel E. Denny joeldenny@joeldenny.org
|
Joel E. Denny joeldenny@joeldenny.org
|
||||||
Johan van Selst johans@stack.nl
|
Johan van Selst johans@stack.nl
|
||||||
|
John Horigan john@glyphic.com
|
||||||
Jonathan Fabrizio jonathan.fabrizio@lrde.epita.fr
|
Jonathan Fabrizio jonathan.fabrizio@lrde.epita.fr
|
||||||
Jonathan Nieder jrnieder@gmail.com
|
Jonathan Nieder jrnieder@gmail.com
|
||||||
Juan Manuel Guerrero juan.guerrero@gmx.de
|
Juan Manuel Guerrero juan.guerrero@gmx.de
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ conclude_red (struct obstack *out, int source, rule_number ruleno,
|
|||||||
with n the source state and m the rule number. This is because we
|
with n the source state and m the rule number. This is because we
|
||||||
don't want all the reductions bearing a same rule number to point to
|
don't want all the reductions bearing a same rule number to point to
|
||||||
the same state, since that is not the desired format. */
|
the same state, since that is not the desired format. */
|
||||||
fprintf (fout, " %1$d -> \"%1$dR%2$d%3$s\" [",
|
fprintf (fout, " %d -> \"%dR%d%s\" [",
|
||||||
source, ruleno, ed);
|
source, source, ruleno, ed);
|
||||||
|
|
||||||
/* (The lookahead tokens have been added to the beginning of the
|
/* (The lookahead tokens have been added to the beginning of the
|
||||||
obstack, in the caller function.) */
|
obstack, in the caller function.) */
|
||||||
|
|||||||
@@ -73,12 +73,12 @@ typedef enum
|
|||||||
declared,
|
declared,
|
||||||
} status;
|
} status;
|
||||||
|
|
||||||
typedef enum code_props_type code_props_type;
|
|
||||||
enum code_props_type
|
enum code_props_type
|
||||||
{
|
{
|
||||||
destructor = 0,
|
destructor = 0,
|
||||||
printer = 1,
|
printer = 1,
|
||||||
};
|
};
|
||||||
|
typedef enum code_props_type code_props_type;
|
||||||
|
|
||||||
enum { CODE_PROPS_SIZE = 2 };
|
enum { CODE_PROPS_SIZE = 2 };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user