[Rpm-maint] [rpm-software-management/rpm] Error if a macro in a comment is expanded to multiple lines (#124)

MyungJoo Ham notifications at github.com
Thu Jan 12 11:33:23 UTC 2017


Multi-line macro expansion in a comment has side effects
as mentioned in the PR #123. However, because there are
cases where a macro is needed to be expanded at a line
starting with # (e.g., shebang), let's emit an error
in a case where it is expected to cause side effects while
we do not expect to have any useful effects.

Related issue: #121

This is an alternative to #123 according to the comment from
@pmatilai in #123.

Signed-off-by: MyungJoo Ham <myungjoo.ham at samsung.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/124

-- Commit Summary --

  * Error if a macro in a comment is expanded to multiple lines

-- File Changes --

    M build/parseSpec.c (14)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/124.patch
https://github.com/rpm-software-management/rpm/pull/124.diff

-- 
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/pull/124
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170112/44840105/attachment-0001.html>


More information about the Rpm-maint mailing list