remove SOF token

This commit is contained in:
jorenchik
2024-11-23 14:55:19 +02:00
parent dabe28b722
commit 8367e17381
3 changed files with 0 additions and 7 deletions

View File

@@ -15,7 +15,6 @@ enum class TokenType {
Cooldown,
CooldownStart,
CooldownEnd,
StartOfFile,
EndOfFile
};

View File

@@ -280,7 +280,6 @@ std::string Token::toString(const TokenType* ttype) {
case TokenType::Cooldown: return "pārtraukums";
case TokenType::CooldownStart: return "pātraukuma sākums";
case TokenType::CooldownEnd: return "pātraukuma beigas";
case TokenType::StartOfFile: return "faila sākums";
case TokenType::EndOfFile: return "faila beigas";
default: return "neatpazīta tekstvienība";
}

View File

@@ -61,11 +61,6 @@ void initTransitions() {
(*transitions)[TokenType::CooldownEnd] = {
TokenType::TextFragment
};
(*transitions)[TokenType::StartOfFile] = {
TokenType::TextFragment,
TokenType::ElementDashStart,
TokenType::EndOfFile
};
(*transitions)[TokenType::EndOfFile] = {};
}