forked from KPGPMC/furlang
refactor(furc): rename some token types to PascalCase
This commit is contained in:
@@ -106,12 +106,12 @@ token_handle<> lexer::next_token() {
|
||||
};
|
||||
|
||||
static std::map<std::string_view, token_t, compare> s_tokens = {
|
||||
{ "(", token_t::Lparen },
|
||||
{ ")", token_t::Rparen },
|
||||
{ "{", token_t::Lbrace },
|
||||
{ "}", token_t::Rbrace },
|
||||
{ "[", token_t::Lbracket },
|
||||
{ "]", token_t::Rbracket },
|
||||
{ "(", token_t::LParen },
|
||||
{ ")", token_t::RParen },
|
||||
{ "{", token_t::LBrace },
|
||||
{ "}", token_t::RBrace },
|
||||
{ "[", token_t::LBracket },
|
||||
{ "]", token_t::RBracket },
|
||||
{ ";", token_t::Semicolon },
|
||||
{ ":", token_t::Colon },
|
||||
{ ",", token_t::Comma },
|
||||
|
||||
Reference in New Issue
Block a user