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....@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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to