/[bison]/bison/ChangeLog
ViewVC logotype

Diff of /bison/ChangeLog

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

revision 1.1050 by hilfinger, Tue Jun 10 02:44:57 2003 UTC revision 1.1051 by eggert, Tue Jun 17 07:54:28 2003 UTC
# Line 1  Line 1 
1    2003-06-17  Paul Eggert  <eggert@twinsun.com>
2    
3            Version 1.875b.
4    
5            * NEWS: Document 1.875b.
6    
7            * lib/bbitset.h: Do not include config.h; that's the includer's job.
8            Do not include <sys/types.h>; shouldn't be needed on a C89 host.
9            * lib/bitset.h (bitset_compatible_p): Indent as per GNU standard.
10            Don't use 'index' in comments, as it's a builtin fn on some hosts.
11            * lib/bitset_stats.c: Include gettext.h unconditionally, as
12            per recent gettext manual's suggestion.
13            * lib/ebitset.c (ebitset_resize, ebitset_unused_clear):
14            Use prototypes, not old-style definitions.
15            * lib/lbitset.c (lbitset_unused_clear): Likewise.
16            * lib/vbitset.c (vbitset_resize, vbitset_ones, vbitset_zero,
17            vbitset_empty_p, vbitset_copy1, vbitset_not, vbitset_equal_p,
18            vbitset_subset_p, vbitset_disjoint_p, vbitset_and, vbitset_and_cmp,
19            vbitset_andn, vbitset_andn_cmp, vbitset_or, vbitset_or_cmp,
20            vbitset_xor, vbitset_xor_cmp, vbitset_and_or, vbitset_and_or_cmp,
21            vbitset_andn_or, vbitset_andn_or_cmp, vbitset_or_and,
22            vbitset_or_and_cmp, vbitset_copy): Likewise.
23    
24            * lib/libiberty.h: Do not include config.h; that's the includer's job.
25            Do not include <stdlib.h>.
26            (PARAMS): Define unconditionally for C89.
27            (ATTRIBUTE_NORETURN): Remove.
28            (ATTRIBUTE_UNUSED): Define unconditionally.
29    
30            Upgrade to 2003-06-08 libbitset, submitted by Michael Hayes in:
31            <http://mail.gnu.org/archive/html/bison-patches/2003-06/msg00005.html>
32            * lib/Makefile.am (bitsets_sources): Add vbitset.c, vbitset.h.
33            * lib/vbitset.c, lib/vbitset.h: New files.
34            * lib/abitset.c, lib/bbitset.h, lib/bitset.c, lib/bitset.h,
35            lib/bitset_stats.c, lib/ebitset.c, lib/lbitset.c: Import
36            from libbitset.
37    
38            * doc/bison.texinfo (How Can I Reset the Parser): Renamed from
39            `How Can I Reset @code{yyparse}', since texinfo does not allow
40            arbitrary @ in node names.
41    
42            * m4/Makefile.am (EXTRA_DIST): Add the following files, which
43            shouldn't be needed according to the gettext 0.12.1 documentation
44            but which seem to be needed anyway: codeset.m4 glibc21.m4
45            intdiv0.m4 inttypes-pri.m4 inttypes.m4 inttypes_h.m4
46            lcmessage.m4 nls.m4 po.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4.
47    
48            * lib/.cvsignore: Add stdbool.h.
49            * m4/.cvsignore: Add nls.m4, po.m4.
50    
51            Upgrade to CVS gnulib.
52            * stdbool_.h: File renamed from stdbool.h.in.
53            * configure.ac (AM_STDBOOL_H): Invoke this instead of
54            AC_HEADER_STDBOOL.
55            (AM_GNU_GETTEXT): Put brackets around args, as latest manual suggests.
56            (AM_GNU_GETTEXT_VERSION): Update to 0.12.1.
57            * lib/Makefile.am (EXTRA_DIST): Add stdbool_.h.
58            (MOSTLYCLEANFILES): New var.
59            ($(libbison_a_OBJECTS)): Depend on $(STDBOOL_H).
60            (stdbool.h): New rule.
61            * lib/dirname.c, lib/dirname.h, lib/hash.c, lib/hash.h,
62            lib/malloc.c, lib/obstack.h, lib/quote.c, lib/realloc.c,
63            lib/strcasecmp.c, lib/xalloc.h, m4/alloca.m4, m4/onceonly.m4,
64            m4/quote.m4: Upgrade to today's gnulib.
65    
66            * tests/calc.at (AT_CHECK_CALC): New option EXPECTED-TO-FAIL.
67            (AT_CHECK_CALC_LALR1_CC): Use it, since the C++ LALR parser fails
68            the tests right now.
69            * tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Ensure yylex and
70            yyerror are declared before use; C99 requires this.
71    
72  2003-06-09  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>  2003-06-09  Paul Hilfinger  <Hilfinger@CS.Berkeley.EDU>
73    
74          * data/glr.c (YYERROR): Update definition to reset yyerrState to 0          * data/glr.c (YYERROR): Update definition to reset yyerrState to 0
# Line 6  Line 77 
77          yyerrState.          yyerrState.
78          Correct comment on handling EOF.          Correct comment on handling EOF.
79          Allow states with only a default reduction, rather than failing          Allow states with only a default reduction, rather than failing
80          (I can't quite reconstruct why these were not allowed before).          (I can't quite reconstruct why these were not allowed before).
81    
82          Fixes to avoid problem that $-N rules in GLR parsers can cause          Fixes to avoid problem that $-N rules in GLR parsers can cause
83          buffer overruns, corrupting state.          buffer overruns, corrupting state.
84            
85          * src/output.c (prepare_rules): Output max_left_semantic_context          * src/output.c (prepare_rules): Output max_left_semantic_context
86          definition.          definition.
87          * src/reader.h (max_left_semantic_context): New variable declaration.          * src/reader.h (max_left_semantic_context): New variable declaration.
88          * src/scan-gram.l (max_left_semantic_context): Define.          * src/scan-gram.l (max_left_semantic_context): Define.
# Line 29  Line 100 
100          locations not used.          locations not used.
101          (yyuserAction): Use YYLLOC_DEFAULT to set *yylocp.          (yyuserAction): Use YYLLOC_DEFAULT to set *yylocp.
102          (yydoAction): Remove redundant initialization of *yyvalp and *yylocp.          (yydoAction): Remove redundant initialization of *yyvalp and *yylocp.
103            
104          * tests/cxx-type.at: Exercise location information; update tests          * tests/cxx-type.at: Exercise location information; update tests
105          to differentiate output with and without locations.          to differentiate output with and without locations.
106          Remove forward declarations of yylex and yyerror---caused errors          Remove forward declarations of yylex and yyerror---caused errors
107          because default YYLTYPE not yet defined.          because default YYLTYPE not yet defined.
108          Change semantic actions to compute strings, rather than printing          Change semantic actions to compute strings, rather than printing
109          them directly (to test proper passing of semantics values).  Change          them directly (to test proper passing of semantics values).  Change
# Line 40  Line 111 
111          (yylex): Track locations.          (yylex): Track locations.
112          (stmtMerge): Return value rather than printing, and include arguments          (stmtMerge): Return value rather than printing, and include arguments
113          in value.          in value.
114            
115  2003-06-03  Paul Eggert  <eggert@twinsun.com>  2003-06-03  Paul Eggert  <eggert@twinsun.com>
116    
117          Avoid warnings generated by GCC 2.95.4 when Bison is          Avoid warnings generated by GCC 2.95.4 when Bison is

Legend:
Removed from v.1.1050  
changed lines
  Added in v.1.1051

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