summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-12 16:53:53 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-12 16:53:53 +0000
commit0838e367eb24473753b04b3639e867f0041b1b5c (patch)
tree1b3bdc0c66c1cce5dd25d5cb4099e2cebcde9c08
parenta3efa8c85b69f79a669b8f0ae3a637d1f0d08352 (diff)
downloadtelepathy-glib-0838e367eb24473753b04b3639e867f0041b1b5c.tar.gz
Fix detection of comments when deciding whether a bad_coding_style() report is a false positive
20070912165353-53eee-9b929d147516fdfc8b8d5564bf4b585feae5bcc2.gz
-rw-r--r--check-c-style.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-c-style.sh b/check-c-style.sh
index 26322a8c8..793d34b82 100644
--- a/check-c-style.sh
+++ b/check-c-style.sh
@@ -16,8 +16,8 @@ fi
# The fourth ignores cpp so you can
# #define foo(bar) (_real_foo (__FUNC__, bar)) (cpp insists on foo() style).
if grep -n '^[^"]*[[:lower:]](' "$@" \
- | grep -v '^[-[:alnum:]_./]*:[[:digit:]]*: *\*' \
- | grep -v '^[-[:alnum:]_./]*:[[:digit:]]*: */\*' \
+ | grep -v '^[-[:alnum:]_./]*:[[:digit:]]*: *\*' \
+ | grep -v '^[-[:alnum:]_./]*:[[:digit:]]*: */\*' \
| grep -v '^[-[:alnum:]_./]*:[[:digit:]]*: *#'
then
echo "^^^ Our coding style is to use function calls like foo (), not foo()"