commit | 1ac0cbca369f16f9191833dd54536482fb141a98 | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Mon Jul 06 20:31:16 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Jul 06 12:31:16 2020 -0700 |
tree | 1800eafad7ec998d61d6172c13194979b86533d6 | |
parent | dcbaa1b49cd9062fb9ba2b9d49555ac6cd8c60b5 [diff] [blame] |
bpo-41215: Don't use NULL by default in the PEG parser keyword list (GH-21355) Automerge-Triggered-By: @lysnikolaou
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 @@ #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},