diff options
author | Martin Fischer <martin@push-f.com> | 2023-09-15 09:40:55 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2023-09-28 10:36:08 +0200 |
commit | d46de6ab592e57a31fef13cfc015c4ce818e8f47 (patch) | |
tree | 814654b579f0a1754193a40786f09a711adc021a /src/basic_emitter.rs | |
parent | 2e986862920b438b253fd6e6f11d8f4e5d6f4e27 (diff) |
feat: add span to Trace::Char
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 0d37810..440b817 100644 --- a/src/basic_emitter.rs +++ b/src/basic_emitter.rs @@ -56,7 +56,7 @@ impl<O: Offset> Emitter<O> for BasicEmitter<O> { self.errors.push_back((error, span)); } - fn emit_char(&mut self, c: char) { + fn emit_char(&mut self, c: char, span: Range<O>) { self.emit_token(Token::Char(c)); } |