[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] m4 example bug
From: |
Eric Sunshine |
Subject: |
Re: [PATCH] m4 example bug |
Date: |
Tue, 6 Jan 2004 19:27:19 -0500 |
On 06 Jan 2004 13:12:17 -0800, Paul Eggert wrote:
> Thanks for reporting that. I installed the following somewhat
> more-ambitious patch.
It looks okay. Thanks.
> +define([a], [b])car(a)
> address@hidden
This could be a bit confusing for the m4 novice. It might be clearer to
break this over two lines:
define([a], [b])
@result{}
car(a)
@result{}b
> +car([a])
> address@hidden
> +car([[a]])
> address@hidden
> +car([[[a]]])
> address@hidden
> +car([])
> @result{}
> +car([[]])
> address@hidden
> +car([[[]]])
> @result{}[]
The last three cases seem a bit redundant. I don't see that these last
cases illustrate anything which the preceding cases have not already
illustrated.
-- ES