make PyGrammar_LabelRepr return a const char * (closes #16369)

This commit is contained in:
Benjamin Peterson 2012-10-31 13:36:13 -04:00
parent 3cb90241fc
commit 742b2f8d7a
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ PyGrammar_FindDFA(grammar *g, register int type)
#endif
}
char *
const char *
PyGrammar_LabelRepr(label *lb)
{
static char buf[100];