diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-12 09:47:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-12 09:47:55 +0200 |
commit | 29cec238a1b140b88d85e5cc87bb00cbf2ad41a8 (patch) | |
tree | 4531a1085b7d228268e1bca9d0340abd3e18654b /bin | |
parent | b27dcabad349b68d2068dfe68924a5b0867f5ee9 (diff) |
scan for all the source files I can think of
Change-Id: I7d0c171ceaaf5f38fabe1ff8b53d78f72ea765e2
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() |