* src/reader.h: s/grammer_current_rule_merge_set/grammar_.../.

* src/conflicts.c (conflicts_total_count): `i' is unsigned, to
pacify GCC.
* src/output.c (save_row): Initialize all the variables to pacify GCC.
(merger_output): static.
This commit is contained in:
Akim Demaille
2002-06-28 08:41:45 +00:00
parent b5480d74b8
commit e0e5bf84b0
4 changed files with 42 additions and 34 deletions

View File

@@ -1,3 +1,11 @@
2002-06-28 Akim Demaille <akim@epita.fr>
* src/reader.h: s/grammer_current_rule_merge_set/grammar_.../.
* src/conflicts.c (conflicts_total_count): `i' is unsigned, to
pacify GCC.
* src/output.c (save_row): Initialize all the variables to pacify GCC.
(merger_output): static.
2002-06-27 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU> 2002-06-27 Paul Hilfinger <Hilfinger@CS.Berkeley.EDU>
Accumulated changelog for new GLR parsing features. Accumulated changelog for new GLR parsing features.

View File

@@ -432,7 +432,7 @@ conflicts_output (FILE *out)
int int
conflicts_total_count (void) conflicts_total_count (void)
{ {
int i; unsigned i;
int count; int count;
/* Conflicts by state. */ /* Conflicts by state. */

View File

@@ -554,10 +554,10 @@ save_row (int state)
{ {
int i; int i;
int count; int count;
short *sp; short *sp = NULL;
short *sp1; short *sp1 = NULL;
short *sp2; short *sp2 = NULL;
unsigned int *sp3; unsigned int *sp3 = NULL;
count = 0; count = 0;
for (i = 0; i < ntokens; i++) for (i = 0; i < ntokens; i++)

View File

@@ -80,7 +80,7 @@ void grammar_current_rule_prec_set PARAMS ((symbol_t *precsym,
location_t l)); location_t l));
void grammar_current_rule_dprec_set PARAMS ((int dprec, void grammar_current_rule_dprec_set PARAMS ((int dprec,
location_t l)); location_t l));
void grammer_current_rule_merge_set PARAMS ((const char* name, void grammar_current_rule_merge_set PARAMS ((const char* name,
location_t l)); location_t l));
void grammar_current_rule_symbol_append PARAMS ((symbol_t *symbol, void grammar_current_rule_symbol_append PARAMS ((symbol_t *symbol,