v0.3.0-dev.5
This commit is contained in:
parent
fb3550b8ec
commit
a1a208ba63
|
@ -63,8 +63,10 @@ private:
|
||||||
{
|
{
|
||||||
string line = configuration.readln();
|
string line = configuration.readln();
|
||||||
auto match = matchFirst(line, regular);
|
auto match = matchFirst(line, regular);
|
||||||
if (match)
|
|
||||||
{
|
if (match.length == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
// if again main section
|
// if again main section
|
||||||
if (match[GROUP_SECTION_MAIN].length)
|
if (match[GROUP_SECTION_MAIN].length)
|
||||||
{
|
{
|
||||||
|
@ -85,12 +87,6 @@ private:
|
||||||
group = GROUP_VALUE_3;
|
group = GROUP_VALUE_3;
|
||||||
|
|
||||||
this.configs[configName].add(sectionName, ConfigParameter(match[GROUP_PROPERTY], match[group]));
|
this.configs[configName].add(sectionName, ConfigParameter(match[GROUP_PROPERTY], match[group]));
|
||||||
|
|
||||||
// if (sectionName !in this.sections)
|
|
||||||
// this.sections[sectionName] = ConfigSection(sectionName);
|
|
||||||
|
|
||||||
// this.sections[sectionName].add(ConfigParameter(match[GROUP_PROPERTY], match[group]));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue