diff options
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/grammar1.c | 2 | ||||
-rw-r--r-- | Parser/tokenizer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c index 1f7d264..4b5aa8a 100644 --- a/Parser/grammar1.c +++ b/Parser/grammar1.c @@ -30,7 +30,7 @@ PyGrammar_FindDFA(grammar *g, register int type) #endif } -char * +const char * PyGrammar_LabelRepr(label *lb) { static char buf[100]; diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 93a4a5c..c2c182c 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -47,7 +47,7 @@ static void tok_backup(struct tok_state *tok, int c); /* Token names */ -char *_PyParser_TokenNames[] = { +const char *_PyParser_TokenNames[] = { "ENDMARKER", "NAME", "NUMBER", |