Fix the code in Parser/ to also compile with C++. This was mostly casts for
malloc/realloc type functions, as well as renaming one variable called 'new'
in tokensizer.c. Still lots more to be done, going to be checking in one
chunk at a time or the patch will be massively huge. Still compiles ok with
gcc.
diff --git a/Parser/myreadline.c b/Parser/myreadline.c
index 630997b..7b27ea2 100644
--- a/Parser/myreadline.c
+++ b/Parser/myreadline.c
@@ -111,7 +111,7 @@
 	size_t n;
 	char *p;
 	n = 100;
-	if ((p = PyObject_MALLOC(n)) == NULL)
+	if ((p = (char *)PyObject_MALLOC(n)) == NULL)
 		return NULL;
 	fflush(sys_stdout);
 #ifndef RISCOS
@@ -141,7 +141,7 @@
 	n = strlen(p);
 	while (n > 0 && p[n-1] != '\n') {
 		size_t incr = n+2;
-		p = PyObject_REALLOC(p, n + incr);
+		p = (char *)PyObject_REALLOC(p, n + incr);
 		if (p == NULL)
 			return NULL;
 		if (incr > INT_MAX) {
@@ -151,7 +151,7 @@
 			break;
 		n += strlen(p+n);
 	}
-	return PyObject_REALLOC(p, n+1);
+	return (char *)PyObject_REALLOC(p, n+1);
 }