[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: paren-balanced case patterns
From: |
Stepan Kasal |
Subject: |
Re: paren-balanced case patterns |
Date: |
Wed, 9 Feb 2005 09:07:13 +0100 |
User-agent: |
Mutt/1.4.1i |
Hin
On Tue, Feb 08, 2005 at 02:37:59PM -0500, Dan Manthey wrote:
> Does anyone have any feelings on this?
> +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?
Stepan