* parser/gapi_pp.pl: add "#if 0" to $eatit_regex

svn path=/trunk/gtk-sharp/; revision=43407
This commit is contained in:
Dan Winship 2005-04-21 15:21:11 +00:00
parent e1306617e5
commit d86a481b38
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2005-04-21 Dan Winship <danw@novell.com>
* 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,

View File

@ -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) {