[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Macros get expanded in comments..
- From: "Kenneth Porter" <shiva well com>
- To: "rpm-list redhat com" <rpm-list redhat com>
- Subject: Re: Macros get expanded in comments..
- Date: Mon, 25 Sep 2000 18:05:00 -0700
On Sun, 24 Sep 2000 23:44:22 -0500 (CDT), Tim Mooney wrote:
>>After a bit of hair pulling I found that the commented out macro
>>definition is acting as if not commented out after all. Is this
>>a bug or a feature? If the latter, how can I get the desired
>>operation?
>
>It's not a bug. See past discussion on this list regarding this issue.
>%define is context free, unlike what you may be used to with cpp et. al.
Ok, I can understand %define being evaluated inside quoted strings and
can see how it would get into the false side of an %if clause from a
coding oversight, but why in comments? Why aren't comments stripped out
before macro processing? Under what conditions would it be useful to
evaluate a macro expression in a comment?
Ken
mailto:shiva@well.com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]