Bug#644021: [checks/{rules,debhelper}] parse continuation lines correctly
On 2011-10-01 22:14, Jakub Wilk wrote:
> Package: lintian
> Version: 2.5.3
> Severity: wishlist
> Tags: patch
>
> With the attached patch debian/rules parsers in checks/rules and
> checks/debhelper will parse continuation lines correctly.
>
Hi,
This breaks at least t/tests/rules-build-dep-pattern, so I have not
applied it. I assume it is because one of the capture patterns now
include a "\n" (which it didn't before due to m// vs m//s ).
I suppose we could chomp the result (which should only eat the last
newline as I recall).
Finally, (double-check) comment lines can be extended in make, right[1]?
~Niels
[1] If not, the comment check is broken with this patch. :)
Reply to: