diff -r ce341da8537c -r f3c4421e121c contrib/check-code.py --- a/contrib/check-code.py Wed Mar 23 09:34:22 2011 -0500 +++ b/contrib/check-code.py Wed Mar 23 09:41:58 2011 -0500 @@ -177,7 +177,7 @@ (r'\([^\)]+\) \w+', "use (int)foo, not (int) foo"), (r'\S+ (\+\+|--)', "use foo++, not foo ++"), (r'\w,\w', "missing whitespace after ,"), - (r'\w[+/*]\w', "missing whitespace in expression"), + (r'^[^#]\w[+/*]\w', "missing whitespace in expression"), (r'^#\s+\w', "use #foo, not # foo"), (r'[^\n]\Z', "no trailing newline"), ]