remove unused token

This commit is contained in:
blueloveTH 2024-01-15 13:12:40 +08:00
parent 3362c23e53
commit c5dcb07ed6
2 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@ constexpr const char* kTokens[] = {
"<<", "<<=", ">>", ">>=", "<<", "<<=", ">>", ">>=",
/*****************************************/ /*****************************************/
".", ",", ":", ";", "#", "(", ")", "[", "]", "{", "}", ".", ",", ":", ";", "#", "(", ")", "[", "]", "{", "}",
"**", "=", ">", "<", "..", "...", "->", "?", "@", "==", "!=", ">=", "<=", "**", "=", ">", "<", "..", "...", "->", "@", "==", "!=", ">=", "<=",
"++", "--", "~", "++", "--", "~",
/** KW_BEGIN **/ /** KW_BEGIN **/
"class", "import", "as", "def", "lambda", "pass", "del", "from", "with", "yield", "class", "import", "as", "def", "lambda", "pass", "del", "from", "with", "yield",

View File

@ -344,7 +344,6 @@ static bool is_unicode_Lo_char(uint32_t c) {
case '&': add_token_2('=', TK("&"), TK("&=")); return true; case '&': add_token_2('=', TK("&"), TK("&=")); return true;
case '|': add_token_2('=', TK("|"), TK("|=")); return true; case '|': add_token_2('=', TK("|"), TK("|=")); return true;
case '^': add_token_2('=', TK("^"), TK("^=")); return true; case '^': add_token_2('=', TK("^"), TK("^=")); return true;
case '?': add_token(TK("?")); return true;
case '.': { case '.': {
if(matchchar('.')) { if(matchchar('.')) {
if(matchchar('.')) { if(matchchar('.')) {