[Rpm-maint] [rpm-software-management/rpm] Do not expand macro in a comment. (#123)

MyungJoo Ham notifications at github.com
Thu Jan 12 10:56:07 UTC 2017

Some escaping characters allowing to do seems reasonable:
cat << EOF >> fooscript
%define SHARP #
cat << EOF >> fooscript

However, if people has been using what @pmatilai has said, it is appropriate not to break the old working codes.

Then, what about emitting ERRORS when we meet multiline (\n in macro) macro inside comments?
If that's fine with you, I'm willing to resubmit a commit.

%define a blah
does not give an error.

%define a make \
gives an error.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170112/7df7db6e/attachment.html>

More information about the Rpm-maint mailing list