Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed May 14, 2024
1 parent 7480657 commit b97e5d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/compiler/src/regex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ fn add_dfa(net_dfa: &DFAGraph, graph: &DFAGraph) -> DFAGraph {
state.edges.insert(*k, v.clone());
}
state.r#type = "".to_string();
if start_state.r#type == "accept" {
state.r#type = "accept".to_string();
}
}
}

Expand Down

0 comments on commit b97e5d5

Please sign in to comment.