]> git.saurik.com Git - bison.git/commit
Kill GCC warnings.
authorAkim Demaille <akim@epita.fr>
Tue, 7 May 2002 08:07:32 +0000 (08:07 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 7 May 2002 08:07:32 +0000 (08:07 +0000)
commit0c2d3f4cba35c4bbea660794ab3cf91c030aafd3
treead27f9f39186b557e6d2dbc95fbd5daf2594bd06
parente41fdc9310174cd2718308bb8fb52d86c479e204
Kill GCC warnings.
* src/reduce.c (nonterminals_reduce): Don't loop over RITEM: loop
over the RHS of each rule.
* src/gram.h, src/gram.c (nritems): Is `unsigned int', not int.
* src/state.h (state_t): Member `nitems' is unsigned short.
* src/LR0.c (get_state): Adjust.
* src/reader.c (packgram): Likewise.
* src/output.c (GENERATE_MUSCLE_INSERT_TABLE): `max' is of type
`Type'.
(muscle_insert_int_table): Remove, unused.
(prepare_rules): Remove `max'.
ChangeLog
src/LR0.c
src/gram.c
src/gram.h
src/output.c
src/reader.c
src/reduce.c
src/state.h