|
@@ -12,7 +12,7 @@ constexpr const char* kTokens[] = {
|
|
|
"==", "!=", ">=", "<=",
|
|
"==", "!=", ">=", "<=",
|
|
|
"+=", "-=", "*=", "/=", "//=", "%=", "&=", "|=", "^=",
|
|
"+=", "-=", "*=", "/=", "//=", "%=", "&=", "|=", "^=",
|
|
|
/** KW_BEGIN **/
|
|
/** KW_BEGIN **/
|
|
|
- "class", "import", "as", "def", "lambda", "pass", "del", "from", "with",
|
|
|
|
|
|
|
+ "class", "import", "as", "def", "lambda", "pass", "del", "from", "with", "yield",
|
|
|
"None", "in", "is", "and", "or", "not", "True", "False", "global", "try", "except", "finally",
|
|
"None", "in", "is", "and", "or", "not", "True", "False", "global", "try", "except", "finally",
|
|
|
"goto", "label", // extended keywords, not available in cpython
|
|
"goto", "label", // extended keywords, not available in cpython
|
|
|
"while", "for", "if", "elif", "else", "break", "continue", "return", "assert", "raise",
|
|
"while", "for", "if", "elif", "else", "break", "continue", "return", "assert", "raise",
|