On Wednesday 25 April 2012 18:34:05 Jari Aalto wrote:
> Package: libconfig-model-perl
> Version: 2.013-1
> Severity: normal
> 
> The output:
> 
>    File debian/copyright line ? has a syntax error:
>       Unknow paragraph in section 2. Is it a Files or a License section ?
> 
> SUGGESTION
> 
> Please express error with line numbers.
> 
> The "section 2" does not indicate a known location in a file. The file in
> question is below.

Ack. 

Solving this ossiue is not that easy, because parsing is done in 2 passes:
- one to store copyright data into a data strucurte
- store data from that structure into configuration tree.

The error is detected during the second pass. At this stage, the line number 
from the file was not kep in the first stage. 

To solve this, I need to keep track of line numbers in the data structure 
created in the first pass. 

All the best


-- 
https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/
    http://ddumont.wordpress.com/        -o-   irc: dod at irc.debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to