This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't count operands.
On Mar 24, 2000, Tony Mantler <eek@escape.ca> wrote:
> At 8:07 PM -0600 3/24/2000, Alexandre Oliva wrote:
>> On Mar 24, 2000, Tony Mantler <eek@escape.ca> wrote:
>>
>>> Parsing "%[0-9]+" doesn't strike me as being a terribly difficult.
>>
>> But it would change the meaning of already existing code. Just think
>> of `%[0-9]' immediately followed by numbers.
> Please tell me you're kidding, is that syntax actually allowable?
Yes. What if your assembler required something like ? Wouldn't you
be complaining for us to add it back? :-)
> That rather strikes me as a parsing and readability nightmare.
You're not required to use it :-)
IIRC, the generally agreed syntax to allow for multi-byte operands,
should anybody every implement it, is `%{#*}'.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me