diff -r d184bae667e4 -r 436a3f728375 contrib/check-code.py --- a/contrib/check-code.py Tue Sep 10 19:49:34 2013 -0700 +++ b/contrib/check-code.py Tue Sep 17 18:13:54 2013 -0500 @@ -288,7 +288,7 @@ (r'return\(', "return is not a function"), (r' ;', "no space before ;"), (r'\w+\* \w+', "use int *foo, not int* foo"), - (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), + (r'\W\([^\)]+\) \w+', "use (int)foo, not (int) foo"), (r'\w+ (\+\+|--)', "use foo++, not foo ++"), (r'\w,\w', "missing whitespace after ,"), (r'^[^#]\w[+/*]\w', "missing whitespace in expression"),