mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Fixed line counting error.
This commit is contained in:
parent
9b030d1073
commit
2bee57be2f
1 changed files with 3 additions and 1 deletions
|
|
@ -262,7 +262,9 @@ foreach $src ( @filenames ) {
|
|||
|
||||
$methods{$name} = 'VIS';
|
||||
|
||||
while ( $line !~ m/}/ and $line .= <SRC> ) { }
|
||||
while ( $line !~ m/}/ and $line .= <SRC> ) {
|
||||
$lineno++
|
||||
}
|
||||
|
||||
if ( $line !~ s/};?(.*)// ) { # remove first '}' and trailing garbage
|
||||
# The '}' was not there (the rest is optional), so complain
|
||||
|
|
|
|||
Loading…
Reference in a new issue