rustc: Bump the error count on non-span errors

This commit is contained in:
Brian Anderson 2012-01-24 23:07:16 -08:00
parent 9ecd5ee81d
commit 0886b69b76
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ impl codemap_handler of handler for handler_t {
}
fn err(msg: str) {
self._emit(none, msg, error);
self.bump_err_count();
}
fn bump_err_count() {
self.err_count += 1u;