diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:44:46 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 05:44:46 (GMT) |
commit | fc85c92a85e08d39ea769a07a3dc2a3c83c21477 (patch) | |
tree | 6069f96bdabd4ff6c7bfc97abf11139a36bff2b9 | |
parent | c6d210ca7673c6ce0cb4b77ada22087f58372efc (diff) | |
download | cpython-fc85c92a85e08d39ea769a07a3dc2a3c83c21477.zip cpython-fc85c92a85e08d39ea769a07a3dc2a3c83c21477.tar.gz cpython-fc85c92a85e08d39ea769a07a3dc2a3c83c21477.tar.bz2 |
Get rid of compiler warning
-rw-r--r-- | Parser/parsetok.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c index cb79fe4..d877fc9 100644 --- a/Parser/parsetok.c +++ b/Parser/parsetok.c @@ -98,7 +98,6 @@ static char with_msg[] = static char as_msg[] = "%s:%d: Warning: 'as' will become a reserved keyword in Python 2.6\n"; -#endif static void warn(const char *msg, const char *filename, int lineno) @@ -107,6 +106,7 @@ warn(const char *msg, const char *filename, int lineno) filename = "<string>"; PySys_WriteStderr(msg, filename, lineno); } +#endif static node * parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret, |