prevent 80000 log lines with the same error, suggested by silene

This commit is contained in:
András Salamon 2005-05-14 12:14:41 +00:00
parent 70e863eac2
commit cac954f007

View file

@ -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());
}