with and as are now keywords. There are some generated files I can't recreate.
diff --git a/Parser/parsetok.c b/Parser/parsetok.c
index be53e1c..c951396 100644
--- a/Parser/parsetok.c
+++ b/Parser/parsetok.c
@@ -89,9 +89,7 @@
return parsetok(tok, g, start, err_ret, flags);
}
-/* Parse input coming from the given tokenizer structure.
- Return error code. */
-
+#if 0
static char with_msg[] =
"%s:%d: Warning: 'with' will become a reserved keyword in Python 2.6\n";
@@ -105,6 +103,10 @@
filename = "<string>";
PySys_WriteStderr(msg, filename, 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,