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]

[gcjx] Patch: FYI: gengtype and .hh


I'm checking this in on the gcjx branch.

I had forgotten that I needed gengtype to also handle .hh files.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>
	* gengtype.c (get_output_file_with_visibility): Recognize '.hh'.

Index: gengtype.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gengtype.c,v
retrieving revision 1.68.4.1
diff -u -r1.68.4.1 gengtype.c
--- gengtype.c 23 Jan 2005 01:53:15 -0000 1.68.4.1
+++ gengtype.c 23 Jan 2005 02:06:10 -0000
@@ -1217,7 +1217,8 @@
   if ((len > 2 && memcmp (basename+len-2, ".c", 2) == 0)
       || (len > 2 && memcmp (basename+len-2, ".y", 2) == 0)
       || (len > 3 && memcmp (basename+len-3, ".in", 3) == 0)
-      || (len > 3 && memcmp (basename+len-3, ".cc", 3) == 0))
+      || (len > 3 && memcmp (basename+len-3, ".cc", 3) == 0)
+      || (len > 3 && memcmp (basename+len-3, ".hh", 3) == 0))
     {
       char *s;
 


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