From: Hans-Peter Nilsson <hp@bitrange.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: binutils@sources.redhat.com
Subject: Re: macro behavior
Date: Wed, 20 Apr 2005 09:34:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.58.0504200530030.65636@dair.pair.com> (raw)
In-Reply-To: <s2662ccc.060@emea1-mh.id2.novell.com>
On Wed, 20 Apr 2005, Jan Beulich wrote:
> .macro gproc name:req, more:vararg
> .global \name
> .type \name, @proc
> .ifnb \more
> gproc \more
> .endif
> .endm
>
> These qualifiers mean
>
> req argument value required
> vararg parameter covers all remaining arguments, if any
>
> while by default specifying an argument value would remain
> optional (including the use of =<value> to specify a default
> value). Of course, the use of : here again may present some
> issues, since MMIX allows : in symbol names, but other than
> above I think this could be tolerated, just requiring to use
> white space around the colon to disambiguate things.
Whitespace separates parameters, not just comma, so I don't
think that'd be disambiguating. I stand by my position that
allowing other than alphanumerics + _ in macro parameter names
is a walk down the wrong lane. The powerpc symbol issue seems
to support that position.
(BTW, I agree with davem that your overlong lines makes
communication harder.)
brgds, H-P
next prev parent reply other threads:[~2005-04-20 9:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-20 9:20 Jan Beulich
2005-04-20 9:34 ` Hans-Peter Nilsson [this message]
[not found] <s25f7070.029@emea1-mh.id2.novell.com>
2005-04-15 8:32 ` Erik Christiansen
-- strict thread matches above, loose matches on Subject: below --
2005-04-15 6:42 Jan Beulich
2005-04-14 14:43 Jan Beulich
2005-04-14 17:25 ` Zack Weinberg
2005-04-15 2:49 ` Erik Christiansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSF.4.58.0504200530030.65636@dair.pair.com \
--to=hp@bitrange.com \
--cc=JBeulich@novell.com \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).