Archiver Initial

This commit is contained in:
IlyaShurupov 2023-07-25 18:47:00 +03:00 committed by Ilya Shurupov
parent 4a5877784b
commit 31e420b311
25 changed files with 652 additions and 124 deletions

View file

@ -25,7 +25,7 @@ namespace tp {
MODULE_SANITY_CHECK(gModuleTokenizer)
}
void build(const init_list<Pair<const tAlphabetType*, tTokType>>& rules) {
void build(const InitialierList<Pair<const tAlphabetType*, tTokType>>& rules) {
NFA<tAlphabetType, tTokType, tNoTokVal, tFailedTokVal> nfa;
mError = RegEx::compile(nfa, rules);
@ -89,7 +89,7 @@ namespace tp {
SimpleTokenizer() = default;
void build(const init_list<Pair<const tAlphabetType*, tTokType>>& rules) {
void build(const InitialierList<Pair<const tAlphabetType*, tTokType>>& rules) {
mTokenizer.build(rules);
}