diff options
author | Nadrieril | 2019-02-27 15:35:04 +0100 |
---|---|---|
committer | Nadrieril | 2019-02-27 15:35:58 +0100 |
commit | d5bc8da87f3fed99a010d867a3e34d2768caf768 (patch) | |
tree | f6341f5790a7041c19eb2320edf0d029569543a5 /src/main.rs | |
parent | 3118e96dfb9aebc1486886cc6659772a5e91b2e8 (diff) |
Try to update to latest nom
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index fde3978..2a1eb11 100644 --- a/src/main.rs +++ b/src/main.rs @@ -71,7 +71,7 @@ fn main() { io::stdin().read_to_string(&mut buffer).unwrap(); let expr = match parser::parse_expr(&buffer) { Ok(e) => e, - Err(lalrpop_util::ParseError::User { error: lexer::LexicalError::Error(pos, e) }) => { + Err(lalrpop_util::ParseError::User { error: lexer::LexicalError(pos, e) }) => { print_error(&format!("Unexpected token {:?}", e), &buffer, pos, pos); return; } |