Author: danw
Date: 2005-04-21 11:21:11 -0400 (Thu, 21 Apr 2005)
New Revision: 43407

Modified:
   trunk/gtk-sharp/ChangeLog
   trunk/gtk-sharp/parser/gapi_pp.pl
Log:
        * parser/gapi_pp.pl: add "#if 0" to $eatit_regex


Modified: trunk/gtk-sharp/ChangeLog
===================================================================
--- trunk/gtk-sharp/ChangeLog   2005-04-21 15:12:12 UTC (rev 43406)
+++ trunk/gtk-sharp/ChangeLog   2005-04-21 15:21:11 UTC (rev 43407)
@@ -1,5 +1,7 @@
 2005-04-21  Dan Winship  <[EMAIL PROTECTED]>
 
+       * parser/gapi_pp.pl: add "#if 0" to $eatit_regex
+
        * gdk/EventClient.cs (gtksharp_gdk_event_client_get_time):
        * glib/Object.cs (gtksharp_get_type_id):
        * glib/Value.cs (gtksharp_object_get_ref_count,

Modified: trunk/gtk-sharp/parser/gapi_pp.pl
===================================================================
--- trunk/gtk-sharp/parser/gapi_pp.pl   2005-04-21 15:12:12 UTC (rev 43406)
+++ trunk/gtk-sharp/parser/gapi_pp.pl   2005-04-21 15:21:11 UTC (rev 43407)
@@ -24,8 +24,8 @@
 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 # Boston, MA 02111-1307, USA.
 
-$private_regex = "^#if.*(ENABLE_BACKEND|ENABLE_ENGINE)";
-$eatit_regex = "^#if.*(__cplusplus|DEBUG|DISABLE_COMPAT|ENABLE_BROKEN)";
+$private_regex = '^#if.*(ENABLE_BACKEND|ENABLE_ENGINE)';
+$eatit_regex = 
'^#if(.*(__cplusplus|DEBUG|DISABLE_COMPAT|ENABLE_BROKEN)|\s+0\s*$)';
 $ignoreit_regex = 
'^\s+\*|#ident|#error|#\s*include|#\s*else|#\s*undef|G_(BEGIN|END)_DECLS|GDKVAR|GTKVAR|GTKMAIN_C_VAR|GTKTYPEUTILS_VAR|VARIABLE|GTKTYPEBUILTIN';
 
 foreach $arg (@ARGV) {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to