[svn:mod_parrot] r410 - mod_parrot/trunk/build/lib/Generator

[email protected] Thu, 28 Aug 2008 08:11:13 -0700 (PDT)
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Thu Aug 28 08:11:12 2008
New Revision: 410

Modified:
   mod_parrot/trunk/build/lib/Generator/ApacheConstants.pm

Log:
adjust regex to pick up some missing constants


Modified: mod_parrot/trunk/build/lib/Generator/ApacheConstants.pm
==============================================================================
--- mod_parrot/trunk/build/lib/Generator/ApacheConstants.pm	(original)
+++ mod_parrot/trunk/build/lib/Generator/ApacheConstants.pm	Thu Aug 28 08:11:12 2008
@@ -74,7 +74,7 @@
         or die $!;
     while (<HTTP_CONFIG_H>) {
         my $code;
-        if (/#define\s+(OR_\w+)\s+(\d+)/) {
+        if (/#define\s+(OR_\w+|RSRC_CONF|EXEC_ON_READ)\s+(\d+)/) {
             $constants{'config'}{$1} = $2;
         }
         elsif (/enum\s+(\w+)\s+\{/) {