Set parent section fields that would be set when reading the config

This commit is contained in:
Jamie Cameron
2020-07-17 09:53:22 -07:00
parent 76cc260c7e
commit 2ee43178df

View File

@ -295,6 +295,8 @@ my $i = 1;
foreach my $m (@{$section->{'members'}}) {
$m->{'line'} = $m->{'eline'} = $section->{'line'} + $i++;
$m->{'file'} = $section->{'file'};
$m->{'sectionname'} = $section->{'name'};
$m->{'sectionvalue'} = $section->{'value'};
}
}