From: Fred Drake Date: Sat, 8 Jul 2000 04:53:48 +0000 (+0000) Subject: Pretensions of the 20th century... remove old-style preprocessor X-Git-Tag: v2.0b1~1007 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c89d4ec9adabbb1365a69ad8a556f20802c89d0;p=thirdparty%2FPython%2Fcpython.git Pretensions of the 20th century... remove old-style preprocessor hackery (/**/), leaving only new-style preprocessor hackery (##). --- diff --git a/Modules/operator.c b/Modules/operator.c index cd86956e34e6..46e5b516a17d 100644 --- a/Modules/operator.c +++ b/Modules/operator.c @@ -184,15 +184,9 @@ op_delslice(PyObject *s, PyObject *a) #undef spam1 #undef spam2 -#ifdef HAVE_OLD_CPP -#define spam1(OP,DOC) {"OP", OP, METH_VARARGS, DOC}, -#define spam2(OP,ALTOP,DOC) {"OP", op_/**/OP, METH_VARARGS, DOC}, \ - {"ALTOP", op_/**/OP, METH_VARARGS, DOC}, -#else #define spam1(OP,DOC) {#OP, OP, METH_VARARGS, DOC}, #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, DOC}, \ {#ALTOP, op_##OP, METH_VARARGS, DOC}, -#endif static struct PyMethodDef operator_methods[] = {