Skip to content

Commit 15c6ca1

Browse files
committed
Bump lalrpop-util.
1 parent e3e5cd3 commit 15c6ca1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ keywords = ["jsx", "html", "wasm"]
1616
proc-macro = true
1717

1818
[dependencies]
19-
lalrpop-util = "0.16.1"
19+
lalrpop-util = "0.17.0"
2020
ansi_term = "0.11.0"
2121
proc-macro2 = { version = "0.4.24", features = ["nightly"] }
2222
proc-macro-hack = "0.5.2"

macros/src/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ pub fn parse_error(input: &[Token], error: &ParseError) -> TokenStream {
4949
compile_error! { "invalid token" }
5050
}
5151
}
52-
UnrecognizedToken {
53-
token: None,
52+
UnrecognizedEOF {
53+
location: _,
5454
expected,
5555
} => {
5656
let msg = format!(
@@ -62,7 +62,7 @@ pub fn parse_error(input: &[Token], error: &ParseError) -> TokenStream {
6262
}
6363
}
6464
UnrecognizedToken {
65-
token: Some((_, token, _)),
65+
token: (_, token, _),
6666
expected,
6767
} => {
6868
let span = token.span();

0 commit comments

Comments
 (0)