diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-15 08:15:29 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | e0434737b20b32a8d7238a134c3662fa9075eb6d (patch) | |
tree | 8fbfc1fa768fead46a425a1c51970338517ed695 /src/basic_emitter.rs | |
parent | d913e6e91e43241b0105afbbad7db5c5bcda0255 (diff) |
feat: add offset to Trace::EndOfFile
Diffstat (limited to 'src/basic_emitter.rs')
-rw-r--r-- | src/basic_emitter.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic_emitter.rs b/src/basic_emitter.rs index e67447b..0d37810 100644 --- a/src/basic_emitter.rs +++ b/src/basic_emitter.rs @@ -60,7 +60,7 @@ impl<O: Offset> Emitter<O> for BasicEmitter<O> { self.emit_token(Token::Char(c)); } - fn emit_eof(&mut self) { + fn emit_eof(&mut self, offset: O) { self.emit_token(Token::EndOfFile); } |