bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/2848] macro name syntax changed


From: nickc at redhat dot com
Subject: [Bug gas/2848] macro name syntax changed
Date: 24 Jul 2006 17:01:38 -0000

------- Additional Comments From nickc at redhat dot com  2006-07-24 17:01 
-------
Subject: Re:  New: macro name syntax changed

Hi Zippel,

> Until at least 2.15 as accepted a macro like this:
> 
>         .macro  foo size,arg,arg2
>         move\size       \arg,\arg2
>         .endm
> 
>         foo.l           %d0,%d1

> Another alternative is to restore the old behaviour, which only accepts
> alphanumeric characters and '_'/'$'.

Wouldn't it be better to fix the sources that use this confusing form of 
macro invocation.  Reading this as a programmer it looks to me like you 
are trying to use an opcode called "foo.l" and not a macro called "foo" 
whose first argument is ".l".  ie wouldn't it be clearer to have:

    foo   .l, %d0, %d1

Cheers
   Nick




-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2848

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]