From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22627 invoked by alias); 2 Mar 2005 08:28:50 -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 22376 invoked from network); 2 Mar 2005 08:28:21 -0000 Received: from unknown (HELO emea1-mh.id2.novell.com) (195.33.99.129) by sourceware.org with SMTP; 2 Mar 2005 08:28:21 -0000 Received: from EMEA1-MTA by emea1-mh.id2.novell.com with Novell_GroupWise; Wed, 02 Mar 2005 08:28:19 +0100 Message-Id: Date: Wed, 02 Mar 2005 08:28:00 -0000 From: "Jan Beulich" To: Subject: Re: [PATCH] Re: .macro behavior Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-SW-Source: 2005-03/txt/msg00067.txt.bz2 >And I still think there's greater benefit from keeping the >syntax of macro *parameter names* the same as today, something >like "[A-Za-z_][A-Za-z0-9_]+" and not dependent on the target >symbol character set. (Heh, saying :alpha: and :alnum: would >imply it's locale-dependent. I don't think we want *that*! ;-) One additional note here: The current behavior is to allow "[A-Za-z_$][A-Za-z0-9_$]+", which already is in conflict with some targets' use of '$' (see those defining LEX_DOLLAR). I would consider it acceptable to shrink the set down to "[A-Za-z_][A-Za-z0-9_]+" as you suggest (in order to be largest commonly acceptable set in general. However, since macros can be used to define macros, having a way to avoid 'common' symbol names may be quite valuable, and having available as option here only underscores (to add a prefix and/or suffix) may make things rather difficult. I'd therefore like to not restrict targets that allow a reasonable set of additional symbol characters from actually using them here. Still, I'm hoping to get comments on this from others, namely Ian, who originally agreed that the current behavior doesn't seem to be intended. Jan