[svn:parrot] r44217 - trunk/t/codingstd

mikehh at svn.parrot.org mikehh at svn.parrot.org
Sat Feb 20 11:15:00 UTC 2010


Author: mikehh
Date: Sat Feb 20 11:14:57 2010
New Revision: 44217
URL: https://trac.parrot.org/parrot/changeset/44217

Log:
remove regex test for more than one space - the test requires at LEAST one space

Modified:
   trunk/t/codingstd/c_parens.t

Modified: trunk/t/codingstd/c_parens.t
==============================================================================
--- trunk/t/codingstd/c_parens.t	Sat Feb 20 02:22:19 2010	(r44216)
+++ trunk/t/codingstd/c_parens.t	Sat Feb 20 11:14:57 2010	(r44217)
@@ -92,7 +92,7 @@
         for my $line (@lines) {
             # skip #defines and typedefs
             next if $line =~ m{(?:(#\s*define|^\s*typedef))};
-            if ( $line =~ m{ ( (?<!\w) (?:$keywords) (?: \( | \ \s+ \( ) ) }xo ) {
+            if ( $line =~ m{ ( (?<!\w) (?:$keywords) (?: \( ) ) }xo ) {
                 my $paren = $1;
 
                 # ops use the same names as some C keywords, so skip


More information about the parrot-commits mailing list