Skip to content

Commit 39b2dbe

Browse files
committed
Update lalrpop to 0.20.0
1 parent e1f7010 commit 39b2dbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

parser/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ serde = ["dep:serde", "rustpython-compiler-core/serde"]
1414

1515
[build-dependencies]
1616
anyhow = { workspace = true }
17-
lalrpop = { version = "0.19.9", optional = true }
17+
lalrpop = { version = "0.20.0", default-features = false, optional = true }
1818
phf_codegen = "0.11.1"
1919
tiny-keccak = { version = "2", features = ["sha3"] }
2020

@@ -31,7 +31,7 @@ unicode_names2 = { workspace = true }
3131

3232
unic-emoji-char = "0.9.0"
3333
unic-ucd-ident = "0.9.0"
34-
lalrpop-util = "0.19.8"
34+
lalrpop-util = { version = "0.20.0", default-features = false }
3535
phf = "0.11.1"
3636
rustc-hash = "1.1.0"
3737
serde = { version = "1.0.133", optional = true, default-features = false, features = ["derive"] }

parser/src/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ fn parse_error_from_lalrpop(
250250
source_path,
251251
}
252252
}
253-
LalrpopError::UnrecognizedEOF { location, expected } => {
253+
LalrpopError::UnrecognizedEof { location, expected } => {
254254
// This could be an initial indentation error that we should ignore
255255
let indent_error = expected == ["Indent"];
256256
if indent_error {

0 commit comments

Comments
 (0)