This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Get rid of "stray ','" warnigs in binutils/defparse.y
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Tue, 9 Nov 2004 17:42:37 +1300 (NZDT)
- Subject: Get rid of "stray ','" warnigs in binutils/defparse.y
Hello
The following patch removes unnecessary commas from token lists in
binutils/defparse.y. This eliminates some bison warnings.
Danny
2004-11-09 Danny Smith <dannysmith@users.sourceforge.net>
* binutils/defparse.y: Remove unnecassary commas from token
list.
Index: src/binutils/defparse.y
===================================================================
RCS file: /cvs/src/src/binutils/defparse.y,v
retrieving revision 1.5
diff -c -3 -p -r1.5 defparse.y
*** src/binutils/defparse.y 8 Mar 2004 11:50:36 -0000 1.5
--- src/binutils/defparse.y 7 Nov 2004 19:09:23 -0000
***************
*** 29,36 ****
int number;
};
! %token NAME, LIBRARY, DESCRIPTION, STACKSIZE, HEAPSIZE, CODE, DATA
! %token SECTIONS, EXPORTS, IMPORTS, VERSIONK, BASE, CONSTANT
%token READ WRITE EXECUTE SHARED NONSHARED NONAME PRIVATE
%token SINGLE MULTIPLE INITINSTANCE INITGLOBAL TERMINSTANCE TERMGLOBAL
%token <id> ID
--- 29,36 ----
int number;
};
! %token NAME LIBRARY DESCRIPTION STACKSIZE HEAPSIZE CODE DATA
! %token SECTIONS EXPORTS IMPORTS VERSIONK BASE CONSTANT
%token READ WRITE EXECUTE SHARED NONSHARED NONAME PRIVATE
%token SINGLE MULTIPLE INITINSTANCE INITGLOBAL TERMINSTANCE TERMGLOBAL
%token <id> ID
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com