mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-07 10:40:16 +00:00
remove unused token
This commit is contained in:
parent
3362c23e53
commit
c5dcb07ed6
@ -21,7 +21,7 @@ constexpr const char* kTokens[] = {
|
||||
"<<", "<<=", ">>", ">>=",
|
||||
/*****************************************/
|
||||
".", ",", ":", ";", "#", "(", ")", "[", "]", "{", "}",
|
||||
"**", "=", ">", "<", "..", "...", "->", "?", "@", "==", "!=", ">=", "<=",
|
||||
"**", "=", ">", "<", "..", "...", "->", "@", "==", "!=", ">=", "<=",
|
||||
"++", "--", "~",
|
||||
/** KW_BEGIN **/
|
||||
"class", "import", "as", "def", "lambda", "pass", "del", "from", "with", "yield",
|
||||
|
||||
@ -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(TK("?")); return true;
|
||||
case '.': {
|
||||
if(matchchar('.')) {
|
||||
if(matchchar('.')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user