diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-04-23 11:39:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 11:39:37 (GMT) |
commit | 09415ff0ebbbe97c8cd08ac1f94673d7a49c8018 (patch) | |
tree | c49ee25cd8762638867af92177cb90bced0ec4b4 /Include/grammar.h | |
parent | 574913479f26b5ff48827861bce68281be01d16e (diff) | |
download | cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.zip cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.gz cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.bz2 |
fix warnings by adding more const (GH-12924)
Diffstat (limited to 'Include/grammar.h')
-rw-r--r-- | Include/grammar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/grammar.h b/Include/grammar.h index faccae4..4b66b1e 100644 --- a/Include/grammar.h +++ b/Include/grammar.h @@ -66,7 +66,7 @@ typedef struct { } grammar; /* FUNCTIONS */ -dfa *PyGrammar_FindDFA(grammar *g, int type); +const dfa *PyGrammar_FindDFA(grammar *g, int type); const char *PyGrammar_LabelRepr(label *lb); void PyGrammar_AddAccelerators(grammar *g); void PyGrammar_RemoveAccelerators(grammar *); |