diff --git a/CHANGES.md b/CHANGES.md index 03ee6b3a7..1e9eafdd4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,15 @@ +# grmtools 0.13.9 (2025-02-04) + +* Respect the timeout in all stages of error recovery. Previously the timeout + only applied to the first of (several!) stages of error recovery, which could + lead to a comically long time spent in the latter stages. + +* Add accessor functions for overly `pub` fields in `lrlex::Rule`. Accessing + the fields directly now causes a deprecation warning. + +* New `-d` option for `nimbleparse` outputs the stategraph. + + # grmtools 0.13.8 (2024-11-07) * `%parse-param` can now use types that implement `Clone` (i.e. relaxing the diff --git a/cfgrammar/Cargo.toml b/cfgrammar/Cargo.toml index d50438dc3..d159468d3 100644 --- a/cfgrammar/Cargo.toml +++ b/cfgrammar/Cargo.toml @@ -2,7 +2,7 @@ name = "cfgrammar" description = "Grammar manipulation" repository = "https://github.com/softdevteam/grmtools" -version = "0.13.8" +version = "0.13.9" authors = ["Laurence Tratt "] edition = "2021" readme = "README.md" diff --git a/lrlex/Cargo.toml b/lrlex/Cargo.toml index de7c5d695..19ac3f9fc 100644 --- a/lrlex/Cargo.toml +++ b/lrlex/Cargo.toml @@ -2,7 +2,7 @@ name = "lrlex" description = "Simple lexer generator" repository = "https://github.com/softdevteam/grmtools" -version = "0.13.8" +version = "0.13.9" authors = ["Laurence Tratt "] edition = "2021" readme = "README.md" diff --git a/lrlex/src/lib/parser.rs b/lrlex/src/lib/parser.rs index b521e696d..982745766 100644 --- a/lrlex/src/lib/parser.rs +++ b/lrlex/src/lib/parser.rs @@ -520,7 +520,7 @@ where if !(regex_syntax::is_meta_character(c2) || RE_LEX_ESC_LITERAL.is_match(s)) { - break (Some((i, s, j, c2))); + break Some((i, s, j, c2)); } } } diff --git a/lrpar/Cargo.toml b/lrpar/Cargo.toml index bde540ca9..a834c4fea 100644 --- a/lrpar/Cargo.toml +++ b/lrpar/Cargo.toml @@ -2,7 +2,7 @@ name = "lrpar" description = "Yacc-compatible parser generator" repository = "https://github.com/softdevteam/grmtools" -version = "0.13.8" +version = "0.13.9" authors = ["Lukas Diekmann ", "Laurence Tratt "] edition = "2021" readme = "README.md" diff --git a/lrtable/Cargo.toml b/lrtable/Cargo.toml index 244997906..c64b5887e 100644 --- a/lrtable/Cargo.toml +++ b/lrtable/Cargo.toml @@ -2,7 +2,7 @@ name = "lrtable" description = "LR grammar table generation" repository = "https://github.com/softdevteam/grmtools" -version = "0.13.8" +version = "0.13.9" authors = ["Lukas Diekmann ", "Laurence Tratt "] edition = "2021" readme = "README.md" diff --git a/nimbleparse/Cargo.toml b/nimbleparse/Cargo.toml index 8486564d6..fea38e879 100644 --- a/nimbleparse/Cargo.toml +++ b/nimbleparse/Cargo.toml @@ -2,7 +2,7 @@ name = "nimbleparse" description = "Simple Yacc grammar debugging tool" repository = "https://github.com/softdevteam/grmtools" -version = "0.13.8" +version = "0.13.9" authors = ["Laurence Tratt "] edition = "2021" readme = "README.md"