[Rpm-maint] [rpm-software-management/rpm] BUG Allow empty lines in %{lua: } blocks (#580)

nim-nim notifications at github.com
Sat Oct 27 13:15:25 UTC 2018


Right now if you let a single empty line pass within a `%{lua: }` block `rpmbuild` will fail with the completely unintuitive *unterminated macro* error. Unintuitive because the block is clearly terminated with a `}`, the `rpmbuild` parser just gives up at the first empty line before reaching this point.

Even when you know the current `rpmbuild` behaviour it manages to trip you every once in a while.

And even when you know the current `rpmbuild` behaviour and manage to avoid the breakage it results in completely unreadable complex `%{lua:  }` blocks since you can not use empty lines to aerate them when necessary.

-- 
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/580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181027/165a82cf/attachment.html>


More information about the Rpm-maint mailing list