public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Get rid of "stray  ','" warnigs in binutils/defparse.y
@ 2004-11-09  4:42 Danny Smith
  2004-11-10  5:20 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Danny Smith @ 2004-11-09  4:42 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Get rid of "stray  ','" warnigs in binutils/defparse.y
  2004-11-09  4:42 Get rid of "stray ','" warnigs in binutils/defparse.y Danny Smith
@ 2004-11-10  5:20 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2004-11-10  5:20 UTC (permalink / raw)
  To: Danny Smith; +Cc: binutils

On Tue, Nov 09, 2004 at 05:42:37PM +1300, Danny Smith wrote:
> 	* binutils/defparse.y: Remove unnecassary commas from token
> 	list.

OK, but please fix the changelog before committing.  ChangeLog entries
are relative to the dir that the ChangeLog file is in.  Also, you have
a typo.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-10  5:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-09  4:42 Get rid of "stray ','" warnigs in binutils/defparse.y Danny Smith
2004-11-10  5:20 ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).