parsing loop closed

This commit is contained in:
IlyaShurupov 2024-02-08 21:52:00 +03:00 committed by Ilusha
parent 63b0560375
commit 3bed74df87
8 changed files with 92 additions and 45 deletions

View file

@ -6,7 +6,7 @@
namespace tp {
template <typename tAlphabetType, typename tStateType, ualni tMinSymbol, ualni tMaxSymbol>
template <typename tAlphabetType, typename tStateType, tStateType tInTransition, ualni tMinSymbol, ualni tMaxSymbol>
class RegularCompiler {
typedef FiniteStateAutomation<tAlphabetType, tStateType> Graph;
@ -203,6 +203,6 @@ namespace tp {
}
}
Vertex* addVertex() { return mGraph->addState(tStateType::InTransition, false); }
Vertex* addVertex() { return mGraph->addState(tInTransition, false); }
};
}