From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12528 invoked by alias); 14 Apr 2005 17:25:58 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 12318 invoked from network); 14 Apr 2005 17:25:53 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 14 Apr 2005 17:25:53 -0000 Received: (qmail 1454 invoked from network); 14 Apr 2005 17:25:52 -0000 Received: from localhost (HELO taltos.codesourcery.com) (zack@127.0.0.1) by mail.codesourcery.com with SMTP; 14 Apr 2005 17:25:52 -0000 Received: by taltos.codesourcery.com (sSMTP sendmail emulation); Thu, 14 Apr 2005 10:25:51 -0700 To: "Jan Beulich" Cc: Subject: Re: macro behavior References: From: Zack Weinberg Date: Thu, 14 Apr 2005 17:25:00 -0000 In-Reply-To: (Jan Beulich's message of "Thu, 14 Apr 2005 16:42:59 +0200") Message-ID: <874qe96zj4.fsf@codesourcery.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-04/txt/msg00386.txt.bz2 "Jan Beulich" writes: > I'm having two issue with dealing with macro parameters: > > (1) If I want to append a constant suffix to the expanded string, I > see no way to do so in default mode; in .altmacro mode I am able to do > so using the & macro operator: [...] I just tripped over this myself. I would suggest the following shell-like notation in default mode: .macro m sym .equiv \{sym}_, 1 .endm This can't break anything else, because "{" is not currently an acceptable name for a macro parameter. I don't currently have time to implement it though. zw