[Libreoffice-commits] core.git: bin/find-german-comments

Noel Grandin noel at peralex.com
Fri Feb 12 07:48:20 UTC 2016


 bin/find-german-comments |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 29cec238a1b140b88d85e5cc87bb00cbf2ad41a8
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Feb 12 09:47:32 2016 +0200

    scan for all the source files I can think of
    
    Change-Id: I7d0c171ceaaf5f38fabe1ff8b53d78f72ea765e2

diff --git a/bin/find-german-comments b/bin/find-german-comments
index 054f00a8..b067d9d 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()
 


More information about the Libreoffice-commits mailing list