This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> Yes. But lots of people do binutils development. I have no problem > with requiring particular tools when it is useful. But we should > only require a new tool for a sufficiently good reason. I'm not sure > that eliminating a few warnings is a sufficiently good reason. Okay, fair enough. How about if I just remove the nounput parts of the patch, leaving: 2004-12-08 Ben Elliston <bje@au.ibm.com> * arlex.l: (yylex, yyget_lineno): Provide extern declarations. (yyget_leng, yyget_in, yyget_out, yyget_text): Likewise. (yyset_lineno, yyset_in, yyset_out): Likewise. (yyget_debug, yyset_debug, yylex_destroy): Likewise. Index: arlex.l =================================================================== RCS file: /home/bje/src-cvs/src/binutils/arlex.l,v retrieving revision 1.7 diff -u -p -r1.7 arlex.l --- arlex.l 14 Sep 2003 12:20:16 -0000 1.7 +++ arlex.l 8 Dec 2004 05:00:50 -0000 @@ -1,7 +1,7 @@ %{ /* arlex.l - Strange script language lexer */ -/* Copyright 1992, 1997, 2000, 2002, 2003 Free Software Foundation, Inc. +/* Copyright 1992, 1997, 2000, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -19,11 +19,8 @@ You should have received a copy of the G along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Contributed by Steve Chamberlain <sac@cygnus.com>. */ -/* Contributed by Steve Chamberlain - sac@cygnus.com - -*/ #define DONTDECLARE_MALLOC #include "ansidecl.h" #include "libiberty.h" @@ -32,6 +29,17 @@ Foundation, Inc., 59 Temple Place - Suit #define YY_NO_UNPUT extern int yylex (void); +extern int yyget_lineno (void); +extern int yyget_leng (void); +extern FILE *yyget_in (void); +extern FILE *yyget_out (void); +extern char *yyget_text (void); +extern void yyset_lineno (int); +extern void yyset_in (FILE *); +extern void yyset_out (FILE *); +extern int yyget_debug (void); +extern void yyset_debug (int); +extern int yylex_destroy (void); int linenumber; %}
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |