prevent 80000 log lines with the same error, suggested by silene
This commit is contained in:
parent
70e863eac2
commit
cac954f007
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ bool preprocessor_data::get_chunk()
|
|||
error << s << " not terminated, started at "
|
||||
<< token.linenum << ' ' << target_.location_;
|
||||
ERR_CF << error.str() << '\n';
|
||||
pop_token();
|
||||
throw config::error(error.str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue