mirror of
https://github.com/webmin/webmin.git
synced 2026-07-10 12:20:31 +01:00
Handle missing )
This commit is contained in:
@@ -222,8 +222,13 @@ while($i < @tok) {
|
||||
$l = $lnum[$i];
|
||||
while($lnum[$i] == $l && $i < @tok) {
|
||||
if ($tok[$i] eq "(") {
|
||||
my $olnum = $lnum[$i];
|
||||
while($tok[++$i] ne ")") {
|
||||
push(@values, $tok[$i]);
|
||||
if ($i >= @tok) {
|
||||
&error("No ending ) found for ".
|
||||
"( starting at $olnum");
|
||||
}
|
||||
}
|
||||
$i++; # skip )
|
||||
last;
|
||||
|
||||
Reference in New Issue
Block a user