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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user