removed config options: ezc_error_prefix and ezc_error_postfix

Ezc::PatternParser and Ezc::Generator use only pt::Log as a logger now
This commit is contained in:
2021-06-19 20:33:35 +02:00
parent 94f96c11cb
commit d8c1a81bcb
8 changed files with 1 additions and 35 deletions

View File

@@ -98,7 +98,6 @@ void InitGenerator(EzcGen & gen, Ezc::Models & ezc_models)
gen.SkipNewLine(gen_skip_new_line);
gen.RecognizeSpecialChars(gen_use_special_chars);
gen.SetMax(config->ezc_max_elements, config->ezc_max_loop_elements);
gen.SetCommentary(config->ezc_error_prefix, config->ezc_error_postfix);
/*
* although we have addresses to blocks and functions cached in patters
@@ -110,6 +109,7 @@ void InitGenerator(EzcGen & gen, Ezc::Models & ezc_models)
gen.SetVariables(ezc_vars);
gen.SetModels(ezc_models);
gen.SetLogger(log);
}