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

Attachment: signature.asc
Description: Digital signature

Reply via email to