glibmm r528 - in trunk: . tools



Author: murrayc
Date: Sun Jan 20 17:57:03 2008
New Revision: 528
URL: http://svn.gnome.org/viewvc/glibmm?rev=528&view=rev

Log:
2008-01-20  Marko Anastasov  <marko marko anastasov name>

* tools/enum.pl: Handle possible parenthesis when matching enum
values declared as shifted ones. Bug #498621.

Modified:
   trunk/ChangeLog
   trunk/tools/enum.pl

Modified: trunk/tools/enum.pl
==============================================================================
--- trunk/tools/enum.pl	(original)
+++ trunk/tools/enum.pl	Sun Jan 20 17:57:03 2008
@@ -123,7 +123,7 @@
       }
       elsif ($i =~ /^(\S+)\s*=\s*(0x[0-9a-fA-F]+)$/ || 
              $i =~ /^(\S+)\s*=\s*(-?[0-9]+)$/ ||
-             $i =~ /^(\S+)\s*=\s*(1\s*<<\s*[0-9]+)$/
+             $i =~ /^(\S+)\s*=\s*\(?(1\s*<<\s*[0-9]+)\)?$/
             )
       { 
         my ($tmp1, $tmp2) = ($1, $2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]