Skip to content

Commit

Permalink
Merge pull request #13 from anycc-org/ANYCC-Hot-Bug-Fix
Browse files Browse the repository at this point in the history
remove regular definition from combined NFA
  • Loading branch information
Ahmedelsa3eed authored Dec 7, 2023
2 parents db0e2f3 + a6cd318 commit 93094f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Lex/NFAGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ NFA *NFAGenerator::buildNFA(const std::vector<Token*>& regexMap,
for (auto& regexDef : regexDefMap) {
NFA* nfa = regexToNFA(*regexDef->getValue());
nfa->setTokenName(*regexDef->getKey());
nfas.push_back(nfa);
regexToNFAMap[*regexDef->getKey()] = nfa;
}

Expand Down

0 comments on commit 93094f7

Please sign in to comment.