mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-31 00:44:19 +00:00
Update lalrpop to 0.20.0
This commit is contained in:
parent
e1f70100ac
commit
39b2dbe04d
2 changed files with 3 additions and 3 deletions
|
@ -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"] }
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue