summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-21 21:14:21 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-21 21:14:21 (GMT)
commit898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1 (patch)
treec4fa1ea4949be76b91bab60ffccebb750e104e3a /Parser
parentf2dae0e14a79df11135fea05c20f66bcada51c06 (diff)
downloadcpython-898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1.zip
cpython-898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1.tar.gz
cpython-898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1.tar.bz2
Add a "const" to make gcc happy.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index bbfbe7d..6e74c7b 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -586,7 +586,7 @@ decode_str(const char *str, struct tok_state *tok)
{
PyObject* utf8 = NULL;
const char *s;
- char *newl[2] = {NULL, NULL};
+ const char *newl[2] = {NULL, NULL};
int lineno = 0;
tok->enc = NULL;
tok->str = str;