aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-01 12:36:30 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-01 12:36:30 -0600
commitc41a84d0c71d3590660a4da05fbfa6b3f9e396b9 (patch)
treec02f365ccee29a972be3c1882ab41d7e6113aea6
parenta2066ced1fb3bf782514a439ad0981fcb1f0df51 (diff)
downloadbird-machine-c41a84d0c71d3590660a4da05fbfa6b3f9e396b9.tar.gz
bird-machine-c41a84d0c71d3590660a4da05fbfa6b3f9e396b9.zip
take out a bit of debugging
-rw-r--r--bird-machine-macros/src/dfa.rs2
-rw-r--r--bird-machine-macros/src/lib.rs1
2 files changed, 0 insertions, 3 deletions
diff --git a/bird-machine-macros/src/dfa.rs b/bird-machine-macros/src/dfa.rs
index 6f5e6f7..0d551a1 100644
--- a/bird-machine-macros/src/dfa.rs
+++ b/bird-machine-macros/src/dfa.rs
@@ -63,8 +63,6 @@ impl From<NFA> for LabeledDFA<BTreeSet<usize>> {
.cloned()
.collect();
- dbg!(&accept_states);
-
Self {
start_state,
transition_table,
diff --git a/bird-machine-macros/src/lib.rs b/bird-machine-macros/src/lib.rs
index c6df41c..0e1db13 100644
--- a/bird-machine-macros/src/lib.rs
+++ b/bird-machine-macros/src/lib.rs
@@ -174,7 +174,6 @@ fn build_machine(regex: &LitStr, fn_name: &Ident) -> proc_macro2::TokenStream {
};
let built_nfa = nfa::NFA::from(&regex_ir);
- dbg!("built the NFA");
let dfa = dfa::DFA::from(built_nfa);
quote! {