diff options
Diffstat (limited to 'Include/grammar.h')
-rw-r--r-- | Include/grammar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Include/grammar.h b/Include/grammar.h index 8426da30d9c..ba7d19d821b 100644 --- a/Include/grammar.h +++ b/Include/grammar.h @@ -69,14 +69,14 @@ typedef struct { /* FUNCTIONS */ grammar *newgrammar(int start); -dfa *adddfa(grammar *g, int type, char *name); +dfa *adddfa(grammar *g, int type, const char *name); int addstate(dfa *d); void addarc(dfa *d, int from, int to, int lbl); dfa *PyGrammar_FindDFA(grammar *g, int type); -int addlabel(labellist *ll, int type, char *str); -int findlabel(labellist *ll, int type, char *str); -char *PyGrammar_LabelRepr(label *lb); +int addlabel(labellist *ll, int type, const char *str); +int findlabel(labellist *ll, int type, const char *str); +const char *PyGrammar_LabelRepr(label *lb); void translatelabels(grammar *g); void addfirstsets(grammar *g); |