Bug#535958: libparse-debcontrol-perl: fails to parse control files with comments
gregor herrmann
gregoa at debian.org
Mon Jul 6 16:53:43 UTC 2009
On Mon, 06 Jul 2009 12:17:09 +0100, Neil Williams wrote:
> debian/control does now allow comments (lines starting with # with no
> preceding whitespace) but when libparse-debcontrol-perl comes across
> such a debian/control file, parse_file returns an empty variable.
Passing "{stripComments => 1}" to parse_file should, according to the
POD and t/31stripcomments.t, strip the comments.
(But the empty variable without stripComments still needs a fix IMO.
And stripComments also seems to remove comments _with_ preceding
white space ...)
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
`- NP: Bob Dylan: Pledging my time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090706/6d176269/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list