summaryrefslogtreecommitdiffstats
path: root/Include/token.h
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2021-04-15 20:38:45 (GMT)
committerGitHub <noreply@github.com>2021-04-15 20:38:45 (GMT)
commitb280248be8e648feb82f3f3ed0050e50b238df7b (patch)
treefee5117cd4e2111d701422c52e30f3b85349b1a9 /Include/token.h
parente692f55979980826a5281560c534ef399a8f9848 (diff)
downloadcpython-b280248be8e648feb82f3f3ed0050e50b238df7b.zip
cpython-b280248be8e648feb82f3f3ed0050e50b238df7b.tar.gz
cpython-b280248be8e648feb82f3f3ed0050e50b238df7b.tar.bz2
bpo-43822: Improve syntax errors for missing commas (GH-25377)
Diffstat (limited to 'Include/token.h')
-rw-r--r--Include/token.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/token.h b/Include/token.h
index 9b8a3aa..eb1b9ea 100644
--- a/Include/token.h
+++ b/Include/token.h
@@ -69,8 +69,9 @@ extern "C" {
#define ASYNC 56
#define TYPE_IGNORE 57
#define TYPE_COMMENT 58
-#define ERRORTOKEN 59
-#define N_TOKENS 63
+#define SOFT_KEYWORD 59
+#define ERRORTOKEN 60
+#define N_TOKENS 64
#define NT_OFFSET 256
/* Special definitions for cooperation with parser */