Update lalrpop to 0.20.0

This commit is contained in:
Jeong YunWon 2023-05-06 04:34:51 +09:00
parent e1f70100ac
commit 39b2dbe04d
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@ serde = ["dep:serde", "rustpython-compiler-core/serde"]
[build-dependencies]
anyhow = { workspace = true }
lalrpop = { version = "0.19.9", optional = true }
lalrpop = { version = "0.20.0", default-features = false, optional = true }
phf_codegen = "0.11.1"
tiny-keccak = { version = "2", features = ["sha3"] }
@ -31,7 +31,7 @@ unicode_names2 = { workspace = true }
unic-emoji-char = "0.9.0"
unic-ucd-ident = "0.9.0"
lalrpop-util = "0.19.8"
lalrpop-util = { version = "0.20.0", default-features = false }
phf = "0.11.1"
rustc-hash = "1.1.0"
serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] }

View file

@ -250,7 +250,7 @@ fn parse_error_from_lalrpop(
source_path,
}
}
LalrpopError::UnrecognizedEOF { location, expected } => {
LalrpopError::UnrecognizedEof { location, expected } => {
// This could be an initial indentation error that we should ignore
let indent_error = expected == ["Indent"];
if indent_error {