diff options
author | Martin Fischer <martin@push-f.com> | 2023-08-29 13:17:59 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | e39b3297d81720b60fb4c23eca73c02a13bfc82a (patch) | |
tree | e95f3f45934da92c7d883fc0618fb9dbbd23adbe /src | |
parent | bb7c64a8245769f20742502cfa942f33ccb08af7 (diff) |
break!: make DefaultEmitter::emit_eof emit EndOfFile
Diffstat (limited to 'src')
-rw-r--r-- | src/default_emitter.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/default_emitter.rs b/src/default_emitter.rs index 5edf848..c9a390a 100644 --- a/src/default_emitter.rs +++ b/src/default_emitter.rs @@ -53,6 +53,7 @@ impl<O: Offset> Emitter<O> for DefaultEmitter<O> { } fn emit_eof(&mut self) { + self.emit_token(Token::EndOfFile); } fn emit_char(&mut self, c: char) { |