Fix duplicated case in tokenizer
This commit is contained in:
parent
10b754c984
commit
4751f436fc
@ -73,9 +73,6 @@ std::vector<Token> Tokenizer::tokenize()
|
|||||||
else if (*it == '-') {
|
else if (*it == '-') {
|
||||||
tokens.push_back({ .type = TokenType::minus });
|
tokens.push_back({ .type = TokenType::minus });
|
||||||
}
|
}
|
||||||
else if (*it == '{') {
|
|
||||||
tokens.push_back({ .type = TokenType::left_curly });
|
|
||||||
}
|
|
||||||
else if (*it == ':') {
|
else if (*it == ':') {
|
||||||
tokens.push_back({ .type = TokenType::colon });
|
tokens.push_back({ .type = TokenType::colon });
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user