summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-12 09:47:32 +0200
committerNoel Grandin <noel@peralex.com>2016-02-12 09:47:55 +0200
commit29cec238a1b140b88d85e5cc87bb00cbf2ad41a8 (patch)
tree4531a1085b7d228268e1bca9d0340abd3e18654b /bin
parentb27dcabad349b68d2068dfe68924a5b0867f5ee9 (diff)
scan for all the source files I can think of
Change-Id: I7d0c171ceaaf5f38fabe1ff8b53d78f72ea765e2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find-german-comments3
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()