[Rpm-maint] [rpm-software-management/rpm] RFE: Do-what-I-mean semantics for macros in spec comments (#158)

Panu Matilainen notifications at github.com
Fri Feb 17 16:29:48 UTC 2017


Of course, @ffesti is right - the *actual* problem is that there's no way to copmletely discard lines. What we need, instead of complex heuristics and different modes and all, is the equivalent of M4 "dnl".
Quoting from https://www.gnu.org/savannah-checkouts/gnu/m4/manual/m4-1.4.18/html_node/Dnl.html, this fits the bill just about perfectly:

> All characters, up to and including the next newline, are discarded without performing any macro expansion. 
> The expansion of dnl is void. 

I was about to suggest %rem for this but perhaps %dnl, with intentional association with M4, would be a better choice because it's semantics are exactly what is called for here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/158#issuecomment-280697695
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170217/bbc6fd59/attachment.html>


More information about the Rpm-maint mailing list