This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx] Patch: FYI: indentation fix
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 12 Feb 2005 20:23:15 -0700
- Subject: [gcjx] Patch: FYI: indentation fix
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcjx branch.
This fixes an indentation error.
Tom
#
# patch "gcc/gcjx/ChangeLog"
# from [61765797f8ac7b4456ac5bc6848d6905afd330b4]
# to [67c5472b859457a71772915793d4f251cfcca1c0]
#
# patch "gcc/gcjx/model/unit.cc"
# from [087811e1639ab1583db1546325ed9ff7766b7e63]
# to [317a97d6bb0646b5f78000045479b4dce8979c9d]
#
--- gcc/gcjx/ChangeLog
+++ gcc/gcjx/ChangeLog
@@ -1,5 +1,7 @@
2005-02-04 Tom Tromey <tromey@redhat.com>
+ * model/unit.cc (resolve): Indentation fixes.
+
* bytecode/signature.cc (parse_ref_type): End inner loop when ';'
seen.
--- gcc/gcjx/model/unit.cc
+++ gcc/gcjx/model/unit.cc
@@ -1,6 +1,6 @@
// Compilation unit.
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -95,8 +95,9 @@
{
if (pub)
std::cerr << (*i)->error ("%1 cannot be public in a compilation "
- "unit already containing public class %2")
- % (*i) -> get_pretty_name () % pub -> get_pretty_name ();
+ "unit already containing "
+ "public class %2")
+ % (*i)->get_pretty_name () % pub->get_pretty_name ();
else
pub = (*i).get ();
}