diff options
Diffstat (limited to 'src/tokenizer.rs')
-rw-r--r-- | src/tokenizer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs index f4c0c48..7e1e85f 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -218,7 +218,7 @@ impl<R: Reader + Position<O>, O: Offset, E: Emitter<O>> Tokenizer<R, O, E> { _ => self.position_before_match..self.reader.position(), }; - self.emitter.emit_error(error, span); + self.emitter.report_error(error, span); } /// Assuming the _current token_ is an end tag, return true if all of these hold. Return false otherwise. |