summaryrefslogtreecommitdiffstats
path: root/Parser/parser.h
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-04-23 11:39:37 (GMT)
committerGitHub <noreply@github.com>2019-04-23 11:39:37 (GMT)
commit09415ff0ebbbe97c8cd08ac1f94673d7a49c8018 (patch)
treec49ee25cd8762638867af92177cb90bced0ec4b4 /Parser/parser.h
parent574913479f26b5ff48827861bce68281be01d16e (diff)
downloadcpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.zip
cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.gz
cpython-09415ff0ebbbe97c8cd08ac1f94673d7a49c8018.tar.bz2
fix warnings by adding more const (GH-12924)
Diffstat (limited to 'Parser/parser.h')
-rw-r--r--Parser/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parser.h b/Parser/parser.h
index ebb06c2..b16075e 100644
--- a/Parser/parser.h
+++ b/Parser/parser.h
@@ -11,7 +11,7 @@ extern "C" {
typedef struct {
int s_state; /* State in current DFA */
- dfa *s_dfa; /* Current DFA */
+ const dfa *s_dfa; /* Current DFA */
struct _node *s_parent; /* Where to add next node */
} stackentry;