/[bison]/bison/ChangeLog
ViewVC logotype

Diff of /bison/ChangeLog

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

revision 1.1044 by eggert, Wed May 14 19:30:22 2003 UTC revision 1.1045 by eggert, Sat May 24 19:16:02 2003 UTC
# Line 1  Line 1 
1    2003-05-24  Paul Eggert  <eggert@twinsun.com>
2    
3            Switch from 'int' to 'bool' where that makes sense.
4    
5            * lib/abitset.c (abitset_test, abitset_empty_p, abitset_equal_p,
6            abitset_subset_p, abitset_disjoint_p, abitset_and_cmp,
7            abitset_andn_cmp, abitset_or_cmp, abitset_xor_cmp, abitset_and_or,
8            abitset_and_or_cmp, abitset_andn_or_cmp, abitset_or_and_cmp):
9            Return or accept bool, not int.  All callers changed.
10            * lib/bbitset.h: (bitset_toggle_, bitset_copy_, bitset_and_or_cmp_,
11            bitset_andn_or_cmp_, bitset_or_and_cmp_): Likewise.
12            * lib/bitset.c (bitset_only_set_p, bitset_print, bitset_toggle_,
13            bitset_copy_, bitset_op4_cmp, bitset_and_or_cmp_, bitset_andn_or_cmp_,
14            bitset_or_and_cmp_): Likewise.
15            * lib/bitset.h (bitset_test, bitset_only_set_p): Likewise.
16            * lib/bitset_stats.c (bitset_stats_print, bitset_stats_toggle,
17            bitset_stats_test, bitset_stats_empty_p, bitset_stats_disjoint_p,
18            bitset_stats_equal_p, bitset_stats_subset_p, bitset_stats_and_cmp,
19            bitset_stats_andn_cmp, bitset_stats_or_cmp, bitset_stats_xor_cmp,
20            bitset_stats_and_or_cmp, bitset_stats_andn_or_cmp,
21            bitset_stats_or_and_cmp): Likewise.
22            * lib/ebitset.c (ebitset_elt_zero_p, ebitset_equal_p, ebitset_copy_cmp,
23            ebitset_test, ebitset_empty_p, ebitset_subset_p, ebitset_disjoint_p,
24            ebitset_op3_cmp, ebitset_and_cmp, ebitset_andn_cmp, ebitset_or_cmp,
25            ebitset_xor_cmp): Likewise.
26            * lib/lbitset.c (lbitset_elt_zero_p, lbitset_equal_p, lbitset_copy_cmp,
27            lbitset_test, lbitset_empty_p, lbitset_subset_p, lbitset_disjoint_p,
28            lbitset_op3_cmp, lbitset_and_cmp, lbitset_andn_cmp, lbitset_or_cmp,
29            lbitset_xor_cmp): Likewise.
30            * lib/bbitset.h: Include <stdbool.h>.
31            (struct bitset_vtable): The following members now return bool, not
32            int: toggle, test, empty_p, disjoint_p, equal_p, subset_p,
33            and_cmp, andn_cmp, or_cmp, xor_cmp, and_or_cmp, andn_or_cmp,
34            or_and_cmp).
35            * src/conflicts.c (count_rr_conflicts): Likewise.
36            * lib/bitset_stats.h (bitset_stats_enabled): Now bool, not int.
37            All uses changed.
38            * lib/ebitset.c (ebitset_obstack_init): Likewise.
39            * lib/lbitset.c (lbitset_obstack_init): Likewise.
40            * src/getargs.c (debug_flag, defines_flag, locations_flag,
41            no_lines_flag, no_parser_flag, token_table_flag, yacc_flag,
42            graph_flag): Likewise.
43            * src/getargs.h (debug_flag, defines_flag, locations_flag,
44            no_lines_flag, no_parser_flag, token_table_flag, yacc_flag,
45            graph_flag): Likewise.
46            * src/output.c (error_verbose): Likewise.
47            * src/output.h (error_verbose): Likewise.
48            * src/reader.c (start_flag, typed): Likewise.
49            * src/reader.h (typed): Likewise.
50            * src/getargs.c (LOCATIONS_OPTION): New constant.
51            (long_options, getargs): Use it.
52            * src/lalr.c (build_relations): Use bool, not int.
53            * src/nullable.c (nullable_compute): Likewise.
54            * src/print.c (print_reductions): Likewise.
55            * src/tables.c (action_row, pack_vector): Likewise.
56            * src/muscle_tab.h (MUSCLE_INSERT_BOOL): New macro.
57            * src/output.c (prepare): Use it.
58            * src/output.c (token_definitions_output,
59            symbol_destructors_output, symbol_destructors_output): Use string,
60            not boolean integer, to keep track of whether to output separator.
61            * src/print_graph.c (print_core): Likewise.
62            * src/state.c (state_rule_lookaheads_print): Likewise.
63    
64            * config/install-sh: Sync from automake 1.7.5.
65    
66  2003-05-14  Paul Eggert  <eggert@twinsun.com>  2003-05-14  Paul Eggert  <eggert@twinsun.com>
67    
68          * src/parse-gram.y (rules_or_grammar_declaration): Require a          * src/parse-gram.y (rules_or_grammar_declaration): Require a

Legend:
Removed from v.1.1044  
changed lines
  Added in v.1.1045

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