From d1d3793a574d36fea0df305caecfeb82a1e6536b Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Fri, 16 Aug 2024 01:06:26 +0000 Subject: [PATCH] export lexer --- parser/src/earley/mod.rs | 5 +++-- rust/Cargo.lock | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/parser/src/earley/mod.rs b/parser/src/earley/mod.rs index ae810e7f..ff0e9ee4 100644 --- a/parser/src/earley/mod.rs +++ b/parser/src/earley/mod.rs @@ -1,9 +1,10 @@ mod from_guidance; mod grammar; mod lexer; -mod lexerspec; mod parser; -mod regexvec; + +pub mod lexerspec; +pub mod regexvec; pub use from_guidance::grammars_from_json; #[allow(unused_imports)] diff --git a/rust/Cargo.lock b/rust/Cargo.lock index ad64f436..fa7792d2 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -65,7 +65,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "derivre" version = "0.1.0" -source = "git+https://github.com/microsoft/derivre?rev=fb0ba7b6307782e0d43a0ca598b237836cb6d304#fb0ba7b6307782e0d43a0ca598b237836cb6d304" +source = "git+https://github.com/microsoft/derivre?rev=ad363698cc95d7e63c5116aa114596f18dc79385#ad363698cc95d7e63c5116aa114596f18dc79385" dependencies = [ "ahash", "anyhow",