Tokenizer Test

This commit is contained in:
IlushaShurupov 2023-07-15 19:18:22 +03:00
parent 44bad77e93
commit b68539cc0c
8 changed files with 235 additions and 214 deletions

View file

@ -136,6 +136,7 @@ namespace tp::RegEx {
case TOK_ANY: out = parseAny(); break;
case TOK_VAL: out = parseVal(); break;
case TOK_NONE: { discardTok(); return nullptr; };
default: break;
}
if (!out) {
discardTok();