Commits

Andrew Kuchling committed 00220eb

Merged revisions 81073 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r81073 | andrew.kuchling | 2010-05-10 19:27:01 -0400 (Mon, 10 May 2010) | 1 line

Use ';' after initialization macros to avoid confusing re-indenters
........

Comments (0)

Files changed (1)

Modules/_cursesmodule.c

 {
   short color,r,g,b;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   if (!PyArg_ParseTuple(args, "h:color_content", &color)) return NULL;
 
 {
   int n;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   if (!PyArg_ParseTuple(args, "i:color_pair", &n)) return NULL;
   return PyLong_FromLong((long) (n << 8));
 {
   int vis,erg;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args, "i:curs_set", &vis)) return NULL;
 
 {
   int ms;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args, "i:delay_output", &ms)) return NULL;
 
 {
   char ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   ch = erasechar();
 
   int x = 0;
   int y = 0;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   getsyx(y, x);
 
 	int rtn;
 	MEVENT event;
 
-	PyCursesInitialised
+	PyCursesInitialised;
 
 	rtn = getmouse( &event );
 	if (rtn == ERR) {
 {
 	MEVENT event;
 
-	PyCursesInitialised
+	PyCursesInitialised;
 	if (!PyArg_ParseTuple(args, "hiiil",
 			     &event.id, 
 			     &event.x, &event.y, &event.z,
   size_t datalen;
   WINDOW *win;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   strcpy(fn, "/tmp/py.curses.getwin.XXXXXX");
   fd = mkstemp(fn);
 {
   unsigned char tenths;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args, "b:halfdelay", &tenths)) return NULL;
 
 {
   int ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"i",&ch)) return NULL;
 
 {
   short color, r, g, b;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   switch(PyTuple_Size(args)) {
   case 4:
 {
   short pair, f, b;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   if (PyTuple_Size(args) != 3) {
     PyErr_SetString(PyExc_TypeError, "init_pair requires 3 arguments");
 {
   int ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   switch(PyTuple_Size(args)) {
   case 1:
   int columns;
   int result;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"ii:is_term_resized", &lines, &columns))
     return NULL;
   const char *knp;
   int ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"i",&ch)) return NULL;
 
 {
   int ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   switch(PyTuple_Size(args)) {
   case 1:
 PyCurses_MouseInterval(PyObject *self, PyObject *args)
 {
 	int interval;
-	PyCursesInitialised 
+	PyCursesInitialised;
 
 	if (!PyArg_ParseTuple(args,"i;interval",&interval)) 
 		return NULL;
 	int newmask;
 	mmask_t oldmask, availmask;
 
-	PyCursesInitialised 
+	PyCursesInitialised;
 	if (!PyArg_ParseTuple(args,"i;mousemask",&newmask)) 
 		return NULL;
 	availmask = mousemask(newmask, &oldmask);
 {
     int ms;
 
-    PyCursesInitialised
+    PyCursesInitialised;
     if (!PyArg_ParseTuple(args, "i;ms", &ms)) return NULL;
 
     return Py_BuildValue("i", napms(ms));
   WINDOW *win;
   int nlines, ncols;
 
-  PyCursesInitialised 
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"ii;nlines,ncols",&nlines,&ncols)) return NULL;
 
   WINDOW *win;
   int nlines, ncols, begin_y=0, begin_x=0;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   switch (PyTuple_Size(args)) {
   case 2:
 {
   short pair,f,b;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   switch(PyTuple_Size(args)) {
   case 1:
 {
   int n;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   switch(PyTuple_Size(args)) {
   case 1:
 {
   int flag = 0;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   switch(PyTuple_Size(args)) {
   case 0:
   int columns;
   PyObject *result;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"ii:resizeterm", &lines, &columns))
     return NULL;
 
   PyObject *result;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"ii:resize_term", &lines, &columns))
     return NULL;
 {
   int y,x;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (PyTuple_Size(args)!=2) {
     PyErr_SetString(PyExc_TypeError, "setsyx requires 2 arguments");
   int code;
   PyObject *c, *cp;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   code = start_color();
   if (code != ERR) {
 {
   int fd;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"i;fd",&fd)) return NULL;
 
   PyObject *temp;
   chtype ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"O;ch or int",&temp)) return NULL;
 
   PyObject *temp;
   chtype ch;
 
-  PyCursesInitialised
+  PyCursesInitialised;
 
   if (!PyArg_ParseTuple(args,"O;ch or int",&temp)) return NULL;
 
 {
   int code;
 
-  PyCursesInitialised
-  PyCursesInitialisedColor
+  PyCursesInitialised;
+  PyCursesInitialisedColor;
 
   code = use_default_colors();
   if (code != ERR) {