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]

Re: gas:Reject ++ and --


Alan Modra wrote:
On Wed, Mar 17, 2004 at 04:23:37PM +0000, Nathan Sidwell wrote:

the attached patch causes gas to not interpret ++ and -- as two
+ or - operators in a row.  The current behaviour is to allow
'a ++ b' as if it was 'a + (+b)' and '++ a' as if '+(+a)'.  The problem


This patch had an off-by-one error, breaking code like the following:
Gah!, sorry

nathan

--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]