1
Fork 0

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

View file

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