aboutsummaryrefslogtreecommitdiff
path: root/src/basic_emitter.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic_emitter.rs')
-rw-r--r--src/basic_emitter.rs2
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));
}