diff options
Diffstat (limited to 'src/tracing_emitter.rs')
-rw-r--r-- | src/tracing_emitter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tracing_emitter.rs b/src/tracing_emitter.rs index 408e832..819f909 100644 --- a/src/tracing_emitter.rs +++ b/src/tracing_emitter.rs @@ -66,8 +66,8 @@ impl Emitter<usize> for TracingEmitter { self.emit_token(Token::Char(c), Trace::Char); } - fn emit_eof(&mut self) { - self.emit_token(Token::EndOfFile, Trace::EndOfFile); + fn emit_eof(&mut self, offset: usize) { + self.emit_token(Token::EndOfFile, Trace::EndOfFile(offset)); } fn init_start_tag(&mut self, tag_offset: usize, name_offset: usize) { |