Skip to content

Commit

Permalink
Bump lalrpop-util.
Browse files Browse the repository at this point in the history
  • Loading branch information
bodil committed May 28, 2019
1 parent e3e5cd3 commit 15c6ca1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords = ["jsx", "html", "wasm"]
proc-macro = true

[dependencies]
lalrpop-util = "0.16.1"
lalrpop-util = "0.17.0"
ansi_term = "0.11.0"
proc-macro2 = { version = "0.4.24", features = ["nightly"] }
proc-macro-hack = "0.5.2"
Expand Down
6 changes: 3 additions & 3 deletions macros/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ pub fn parse_error(input: &[Token], error: &ParseError) -> TokenStream {
compile_error! { "invalid token" }
}
}
UnrecognizedToken {
token: None,
UnrecognizedEOF {
location: _,
expected,
} => {
let msg = format!(
Expand All @@ -62,7 +62,7 @@ pub fn parse_error(input: &[Token], error: &ParseError) -> TokenStream {
}
}
UnrecognizedToken {
token: Some((_, token, _)),
token: (_, token, _),
expected,
} => {
let span = token.span();
Expand Down

0 comments on commit 15c6ca1

Please sign in to comment.