|
From: | Paolo Bonzini |
Subject: | Re: [PATCH] overquoting in implementation of %code and %defines |
Date: | Sun, 14 Jan 2007 22:42:41 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
m4_define([b4_prefix], [b4_get_percent_define([[prefix]], [[YY]])])I don't want to encourage skeleton authors to define such an abbreviation just in order to define a variable's default value. It can suppress helpful warnings about a variable that's sometimes unused.
No, it won't unless you actually use b4_prefix, i.e. unless the b4_get_percent_define is actually expanded.
This should work: m4_define_default([b4_percent_define_prefix], [[YY]])
This feature is useless, for the reason I gave above. It's better to make it look like m4_default etc.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |