This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: gjavah.c indentation fixlet


I'm checking this in to the trunk.
This fixes an indentation buglet I noticed in gjavah.c.

Tom

Index: gcc/java/ChangeLog
from  Tom Tromey  <tromey at redhat dot com>

	* gjavah.c (print_c_decl): Indentation fix.

Index: gcc/java/gjavah.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/gjavah.c,v
retrieving revision 1.106
diff -u -r1.106 gjavah.c
--- gcc/java/gjavah.c 21 Mar 2003 17:10:02 -0000 1.106
+++ gcc/java/gjavah.c 14 Apr 2003 04:39:50 -0000
@@ -1402,12 +1402,12 @@
 	 because the "new" C++ ABI changed the alignemnt of non-POD
 	 classes.  gcj, however, still uses the "old" alignment.  */
       if (is_first_data_member && ! (flags & ACC_STATIC) && ! is_method)
-      {
-	is_first_data_member = 0;
-	print_cxx_classname (out, " __attribute__((aligned(__alignof__( ",
-			     jcf, jcf->super_class, 1);
-	fputs (" )))) ", stream);
-      }
+	{
+	  is_first_data_member = 0;
+	  print_cxx_classname (out, " __attribute__((aligned(__alignof__( ",
+			       jcf, jcf->super_class, 1);
+	  fputs (" )))) ", stream);
+	}
 
       /* Now print the name of the thing.  */
       if (need_space)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]