117 |
$column = $opt{column}; |
$column = $opt{column}; |
118 |
} |
} |
119 |
} |
} |
120 |
|
$line += $opt{line_diff} || 0 if defined $line; |
121 |
|
$column += $opt{column_diff} || 0 if defined $column; |
122 |
$line = $line - 1 || 1 |
$line = $line - 1 || 1 |
123 |
if defined $line and not (defined $column and $column > 0); |
if defined $line and not (defined $column and $column > 0); |
124 |
|
|
323 |
target => 'parse-errors', score_base => 10, |
target => 'parse-errors', score_base => 10, |
324 |
parent_status => $maindoc_status}, |
parent_status => $maindoc_status}, |
325 |
{label => 'Char L.', status => $self->{layers}->{charset}, |
{label => 'Char L.', status => $self->{layers}->{charset}, |
326 |
score_base => 10, |
target => 'parse-errors', score_base => 10, |
327 |
parent_status => $maindoc_status}, |
parent_status => $maindoc_status}, |
328 |
|
## TODO: char semantics layer |
329 |
{label => 'Syntax L.', status => $self->{layers}->{syntax}, |
{label => 'Syntax L.', status => $self->{layers}->{syntax}, |
330 |
target => 'parse-errors', score_base => 20, |
target => 'parse-errors', score_base => 20, |
331 |
parent_status => $maindoc_status}, |
parent_status => $maindoc_status}, |