<p>This adds a ME_NOEXPAND macro flag that turns off body expansion.</p>
<p>This is much simpler than the weird % character doubling. It's also a bit faster<br>
because there's less calls to expandMacro().</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/1060'>https://github.com/rpm-software-management/rpm/pull/1060</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Remove duplicated code in macro expansion</li>
  <li>Add a ME_NOEXPAND macro flag that turns off body expansion</li>
  <li>Use ME_NOEXPAND when setting __file_name and __file_lineno</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/1060/files#diff-0">rpmio/macro.c</a>
    (62)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1060.patch'>https://github.com/rpm-software-management/rpm/pull/1060.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/1060.diff'>https://github.com/rpm-software-management/rpm/pull/1060.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1060?email_source=notifications&email_token=ADLPZUZLXIYAZB7XQN6XQHDRBUZOHA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILYSROQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU5CG4QFM62XM735CUTRBUZOHANCNFSM4KRMDJXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU6KJGPMW6LOZJQIHJDRBUZOHA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILYSROQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1060?email_source=notifications\u0026email_token=ADLPZUZLXIYAZB7XQN6XQHDRBUZOHA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILYSROQ",
"url": "https://github.com/rpm-software-management/rpm/pull/1060?email_source=notifications\u0026email_token=ADLPZUZLXIYAZB7XQN6XQHDRBUZOHA5CNFSM4KRMDJXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ILYSROQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>