Kaydet (Commit) 29cec238 authored tarafından Noel Grandin's avatar Noel Grandin

scan for all the source files I can think of

Change-Id: I7d0c171ceaaf5f38fabe1ff8b53d78f72ea765e2
üst b27dcaba
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment