ConfigFile: fix typo (parser breakage)
This commit is contained in:
parent
6725c2afa1
commit
8f2ca8f085
@ -141,7 +141,7 @@ Append(ConfigBlock *&head, ConfigBlock *p)
|
|||||||
|
|
||||||
static bool
|
static bool
|
||||||
ReadConfigBlock(ConfigData &config_data, BufferedReader &reader,
|
ReadConfigBlock(ConfigData &config_data, BufferedReader &reader,
|
||||||
const char *name, ConfigOption o,
|
const char *name, ConfigBlockOption o,
|
||||||
Tokenizer &tokenizer,
|
Tokenizer &tokenizer,
|
||||||
Error &error)
|
Error &error)
|
||||||
{
|
{
|
||||||
@ -278,7 +278,7 @@ ReadConfigFile(ConfigData &config_data, BufferedReader &reader, Error &error)
|
|||||||
tokenizer, error))
|
tokenizer, error))
|
||||||
return false;
|
return false;
|
||||||
} else if ((bo = ParseConfigBlockOptionName(name)) != ConfigBlockOption::MAX) {
|
} else if ((bo = ParseConfigBlockOptionName(name)) != ConfigBlockOption::MAX) {
|
||||||
if (!ReadConfigBlock(config_data, reader, name, o,
|
if (!ReadConfigBlock(config_data, reader, name, bo,
|
||||||
tokenizer, error))
|
tokenizer, error))
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user