diff options
author | Georg Brandl <georg@python.org> | 2008-01-21 21:14:21 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-21 21:14:21 (GMT) |
commit | 898f1879e1bf6fe0a0d94d2abe8e8f5b32f795c1 (patch) | |
tree | c4fa1ea4949be76b91bab60ffccebb750e104e3a /Parser | |
parent | f2dae0e14a79df11135fea05c20f66bcada51c06 (diff) | |
download | cpython-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.c | 2 |
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; |