mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Get rid of compiler warning
This commit is contained in:
parent
c6d210ca76
commit
fc85c92a85
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue