summaryrefslogtreecommitdiff
path: root/Parser/parsetok.c
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/parsetok.c')
-rw-r--r--Parser/parsetok.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Parser/parsetok.c b/Parser/parsetok.c
index 01a3051518..71bed29919 100644
--- a/Parser/parsetok.c
+++ b/Parser/parsetok.c
@@ -82,9 +82,6 @@ PyParser_ParseFileFlags(FILE *fp, const char *filename, grammar *g, int start,
return parsetok(tok, g, start, err_ret, flags);
}
-/* Parse input coming from the given tokenizer structure.
- Return error code. */
-
#ifdef PY_PARSER_REQUIRES_FUTURE_KEYWORD
static char with_msg[] =
"%s:%d: Warning: 'with' will become a reserved keyword in Python 2.6\n";
@@ -101,6 +98,9 @@ warn(const char *msg, const char *filename, int lineno)
}
#endif
+/* Parse input coming from the given tokenizer structure.
+ Return error code. */
+
static node *
parsetok(struct tok_state *tok, grammar *g, int start, perrdetail *err_ret,
int flags)