bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-indent] k&r mode is broken in 2.2.6


From: Brian Craft
Subject: [Bug-indent] k&r mode is broken in 2.2.6
Date: Sun, 23 Dec 2001 12:23:48 -0800
User-agent: Mutt/1.2.5i

Here's a bit of a diff after doing "indent -kr":


-  LinkedList *getNext() {
-    return (_next);
-  }
+    LinkedList *getNext() {
+        return (_next);
+    } LinkedList *getPrev() {
+        return (_prev);
+    }
 
-  LinkedList *getPrev() {
-    return(_prev);
-  }



I have no idea why it's doing this. Other function definitions in the same
class are formatted correctly. Only this one comes out weird.

indent version 2.2.6.

b.c.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]