diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-10-31 17:36:13 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-10-31 17:36:13 (GMT) |
commit | 742b2f8d7a6b728e925ad83f704af0ff5fb06848 (patch) | |
tree | 6d0e89dd6123ed3534a49b6e37a3e8a7740a3e28 /Parser/grammar1.c | |
parent | 3cb90241fc9d95612879bd8f479c7a059108ef0a (diff) | |
download | cpython-742b2f8d7a6b728e925ad83f704af0ff5fb06848.zip cpython-742b2f8d7a6b728e925ad83f704af0ff5fb06848.tar.gz cpython-742b2f8d7a6b728e925ad83f704af0ff5fb06848.tar.bz2 |
make PyGrammar_LabelRepr return a const char * (closes #16369)
Diffstat (limited to 'Parser/grammar1.c')
-rw-r--r-- | Parser/grammar1.c | 2 |
1 files changed, 1 insertions, 1 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]; |