Re: paren-balanced case patterns

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

 



On Wed, 9 Feb 2005, Stepan Kasal wrote:
> On Tue, Feb 08, 2005 at 02:37:59PM -0500, Dan Manthey wrote:
> > +m4_define([AS_CASE_PATTERN],
> > +[m4_if($#,0,[[$0]],$#,1,[[$1 ) ]],[[$1 | ]$0(m4_shift($@))])])
>
> Wouldn't a simple
>
> 	m4_define([AS_CASE], [$1)])
>
> serve the same purpose?

Yes, completely.  I was hoping the name `AC_CASE' sufficed, but it is
somewhat misleading.  In fact, since _you_ have the better definition and
my paperwork isn't in yet, can you send this off to the maintainer?

-Dan



_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux