/[bison]/bison/ChangeLog
ViewVC logotype

Diff of /bison/ChangeLog

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

revision 1.977 by eggert, Thu Jan 2 23:59:12 2003 UTC revision 1.978 by eggert, Sun Jan 5 01:07:13 2003 UTC
# Line 1  Line 1 
1    2003-01-04  Paul Eggert  <eggert@twinsun.com>
2    
3            * data/yacc.c (yyerrlab1): Omit attribute if __cplusplus is defined,
4            since GNU C++ (as of 3.2.1) does not allow attributes on labels.
5            Problem reported by Nelson H. F. Beebe.
6    
7    2003-01-03  Paul Eggert  <eggert@twinsun.com>
8    
9            * lib/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
10            (void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
11            when compiling Bison 1.875's `bitset bset = obstack_alloc
12            (bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.
13    
14            * src/scan-skel.l (QPUTS): Omit redundant `;' from macro definition.
15            ([^@\n]): Renamed from [^@\n]+ so that the token buffer does not
16            grow to a huge size with typical invocation.
17            
18            * lib/hash.c (_Bool, bool, false, true, __bool_true_false_are_defined):
19            Use the pattern recommended by Autoconf 2.57, except also protect
20            against double-definition.
21            * src/system.h: Likewise.
22            Portability issues reported by Nelson H. F. Beebe.
23            
24            * data/glr.c (yybool): Renamed from bool, to avoid collisions in C.
25            All uses changed.  Provide a definition in both C and C++.
26            (yytrue, yyfalse): Define even if defined (__cplusplus).
27    
28            * lib/bitset_stats.c (bitset_stats_list): Remove unused var.
29            Reported by Nelson H. F. Beebe.
30            
31            * src/scan-skel.l ("@oline@"): Output lineno+1, not lineno.
32    
33  2003-01-02  Paul Eggert  <eggert@twinsun.com>  2003-01-02  Paul Eggert  <eggert@twinsun.com>
34    
35          * data/yacc.c (yyerrlab1): Append `;' after attribute, to          * data/yacc.c (yyerrlab1): Append `;' after attribute, to
# Line 964  Line 996 
996          * data/glr.c (yydoAction): Return YYRESULTTAG, not int.          * data/glr.c (yydoAction): Return YYRESULTTAG, not int.
997          (yyglrReduce): Return yyok, not 0.          (yyglrReduce): Return yyok, not 0.
998          This should avoid the enumerated-type warnings reported          This should avoid the enumerated-type warnings reported
999          by Nelson H.F. Beebe in          by Nelson H. F. Beebe in
1000          <http://mail.gnu.org/pipermail/bug-bison/2002-November/001872.html>.          <http://mail.gnu.org/pipermail/bug-bison/2002-November/001872.html>.
1001    
1002          * lib/bbitset.h (BITSET_INLINE): Remove.          * lib/bbitset.h (BITSET_INLINE): Remove.
# Line 974  Line 1006 
1006    
1007          * data/glr.c (inline): Remove #define.  It's the user's          * data/glr.c (inline): Remove #define.  It's the user's
1008          responsibility to #define it away, just like 'const'.          responsibility to #define it away, just like 'const'.
1009          This fixes one of the bugs reported by Nelson H.F. Beebe in          This fixes one of the bugs reported by Nelson H. F. Beebe in
1010          <http://mail.gnu.org/pipermail/bug-bison/2002-November/001873.html>.          <http://mail.gnu.org/pipermail/bug-bison/2002-November/001873.html>.
1011    
1012          * Makefile.maint (po-check): Scan .l and .y files instead of the          * Makefile.maint (po-check): Scan .l and .y files instead of the

Legend:
Removed from v.1.977  
changed lines
  Added in v.1.978

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