diff mbox

ObjC/ObjC++ Patch: rewrite objc/objc++ frontend hashtables

Message ID 1318550523.014929967@www2.webmail.us
State New
Headers show

Commit Message

Nicola Pero Oct. 14, 2011, 12:02 a.m. UTC
I actually forgot to post a tiny bit that is required to support
the additional objc/objc-map.h and objc/objc-map.c files.  It's
part of the same patch.  Apologies.

Thanks

Comments

Mike Stump Oct. 14, 2011, 8:15 a.m. UTC | #1
On Oct 13, 2011, at 5:02 PM, Nicola Pero wrote:
> I actually forgot to post a tiny bit that is required to support
> the additional objc/objc-map.h and objc/objc-map.c files.  It's
> part of the same patch.  Apologies.

Hum, looks fairly obvious to me.  :-)
diff mbox

Patch

Index: gengtype.c
===================================================================
--- gengtype.c  (revision 179947)
+++ gengtype.c  (working copy)
@@ -1817,6 +1817,11 @@  struct file_rule_st files_rules[] = {
     REG_EXTENDED, NULL_REGEX,
     "gt-objc-objc-act.h", "objc/objc-act.c", NULL_FRULACT },
 
+  /* objc/objc-map.h gives gt-objc-objc-map.h for objc/objc-map.c !  */
+  { DIR_PREFIX_REGEX "objc/objc-map\\.h$",
+    REG_EXTENDED, NULL_REGEX,
+    "gt-objc-objc-map.h", "objc/objc-map.c", NULL_FRULACT },
+
   /* General cases.  For header *.h and source *.c files, we need
    * special actions to handle the language.  */
 
Index: ChangeLog
===================================================================
--- ChangeLog   (revision 179947)
+++ ChangeLog   (working copy)
@@ -1,3 +1,8 @@ 
+2011-10-14  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * gengtype.c (files_rules): Added rules for objc/objc-map.h and
+       objc/objc-map.c.
+
 2011-10-13  Jakub Jelinek  <jakub@redhat.com>
 
        * config/i386/sse.md (vec_set<mode>): Change V_128 iterator mode