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
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 <[email protected]>
+
+ * gengtype.c (files_rules): Added rules for objc/objc-map.h and
+ objc/objc-map.c.
+
2011-10-13 Jakub Jelinek <[email protected]>
* config/i386/sse.md (vec_set<mode>): Change V_128 iterator mode