diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 20:01:53 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-12-25 20:01:53 +0200 |
commit | ef1585eb9a488ae8ce3ff057f43a7048b941cc1c (patch) | |
tree | fbbdc44ba78d84a31d5fc0bf1679870ec4f32f77 /Parser/pgen.c | |
parent | Issue #25923: Added the const qualifier to static constant arrays. (diff) | |
download | cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.gz cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.tar.bz2 cpython-ef1585eb9a488ae8ce3ff057f43a7048b941cc1c.zip |
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Parser/pgen.c')
-rw-r--r-- | Parser/pgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c index 6ecb3116021..be35e02fa56 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -379,7 +379,7 @@ typedef struct _ss_dfa { /* Forward */ static void printssdfa(int xx_nstates, ss_state *xx_state, int nbits, - labellist *ll, char *msg); + labellist *ll, const char *msg); static void simplify(int xx_nstates, ss_state *xx_state); static void convert(dfa *d, int xx_nstates, ss_state *xx_state); @@ -494,7 +494,7 @@ makedfa(nfagrammar *gr, nfa *nf, dfa *d) static void printssdfa(int xx_nstates, ss_state *xx_state, int nbits, - labellist *ll, char *msg) + labellist *ll, const char *msg) { int i, ibit, iarc; ss_state *yy; |