Skip to content

Commit

Permalink
Update to lalrpop 0.20
Browse files Browse the repository at this point in the history
* Latest version, will get fixes
* Proper fix for regex transitive dependency issues/unicode support
* Expecting big performance wins once 0.20.1 is released
  • Loading branch information
dburgener committed Sep 29, 2023
1 parent c0c290e commit 384e6c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = "README.md"
keywords = [ "selinux" ]

[build-dependencies]
lalrpop = "^0.19.12"
lalrpop = "0.20"
clap = { version = "4", features = ["derive"] }
clap_mangen = "0.2"

Expand All @@ -23,7 +23,7 @@ clap = { version = "4", features = ["derive"] }
codespan-reporting = "0.11"
flate2 = "1"
is-terminal = "0.4"
lalrpop-util = "0.19"
lalrpop-util = "0.20"
quick-xml = "0.27"
sexp = "1.1"
tar = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ impl From<LalrpopParseError<usize, Token<'_>, ParseErrorMsg>> for ParseErrorMsg
range: Some(location..location),
help: String::new(),
},
LalrpopParseError::UnrecognizedEOF { location, expected } => ParseErrorMsg {
LalrpopParseError::UnrecognizedEof { location, expected } => ParseErrorMsg {
issue: "Unexpected end of file".into(),
range: Some(location..location),
help: format!("Expected {}", expected.join(" or ")),
Expand Down

0 comments on commit 384e6c5

Please sign in to comment.