Patch: FYI: gjavah.c indentation fixlet

Tom Tromey tromey@redhat.com
Mon Apr 14 04:40:00 GMT 2003


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@redhat.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)



More information about the Gcc-patches mailing list