diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-07-06 19:31:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 19:31:16 (GMT) |
commit | 1ac0cbca369f16f9191833dd54536482fb141a98 (patch) | |
tree | 1800eafad7ec998d61d6172c13194979b86533d6 /Parser/parser.c | |
parent | dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5 (diff) | |
download | cpython-1ac0cbca369f16f9191833dd54536482fb141a98.zip cpython-1ac0cbca369f16f9191833dd54536482fb141a98.tar.gz cpython-1ac0cbca369f16f9191833dd54536482fb141a98.tar.bz2 |
bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355)
Automerge-Triggered-By: @lysnikolaou
Diffstat (limited to 'Parser/parser.c')
-rw-r--r-- | Parser/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/parser.c b/Parser/parser.c index bfd5c47..75dc717 100644 --- a/Parser/parser.c +++ b/Parser/parser.c @@ -9,8 +9,8 @@ extern int Py_DebugFlag; #endif static const int n_keyword_lists = 9; static KeywordToken *reserved_keywords[] = { - NULL, - NULL, + (KeywordToken[]) {{NULL, -1}}, + (KeywordToken[]) {{NULL, -1}}, (KeywordToken[]) { {"if", 510}, {"in", 518}, |