diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tokenize.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tokenize.rs b/examples/tokenize.rs index 8728a18..1c9ea6a 100644 --- a/examples/tokenize.rs +++ b/examples/tokenize.rs @@ -66,9 +66,9 @@ impl TokenSink for TokenPrinter { } println!(">"); } - ParseError(err) => { + ParseError { error, .. } => { self.is_char(false); - println!("ERROR: {}", err); + println!("ERROR: {}", error); } _ => { self.is_char(false); |