diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-german-comments | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/find-german-comments b/bin/find-german-comments index 054f00a86b24..b067d9d79bd8 100755 --- a/bin/find-german-comments +++ b/bin/find-german-comments @@ -224,8 +224,7 @@ class Parser: """ checks each _tracked_ file in a directory recursively """ - # FIXME: eventually should scan .c .mm etc. too ... - sock = os.popen(r"git ls-files '%s' |egrep '\.(c|h)xx$'" % directory) + sock = os.popen(r"git ls-files '%s' |egrep '\.(c|cc|cpp|cxx|h|hxx|mm)$'" % directory) lines = sock.readlines() sock.close() |