AMDG Howard Hinnant wrote: > Modified: libcxx/trunk/include/regex > URL: > http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/regex?rev=109512&r1=109511&r2=109512&view=diff > ============================================================================== > --- libcxx/trunk/include/regex (original) > +++ libcxx/trunk/include/regex Tue Jul 27 12:24:17 2010 > @@ -747,12 +747,12 @@ > nosubs = 1 << 1, > optimize = 1 << 2, > collate = 1 << 3, > - ECMAScript = 1 << 4, > - basic = 1 << 5, > - extended = 1 << 6, > - awk = 1 << 7, > - grep = 1 << 8, > - egrep = 1 << 9 > + ECMAScript = 0, > + basic = 1 << 4, > + extended = 1 << 5, > + awk = 1 << 6, > + grep = 1 << 7, > + egrep = 1 << 8 > }; >
I don't think this conforms to the requirements for bitmasks: "The value Y is set in the object X if the expression X & Y is nonzero." In Christ, Steven Watanabe _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
