This commit is contained in:
Costa Shulyupin 2018-08-07 09:03:32 +03:00
parent e7112db404
commit eccc313b9e
1 changed files with 7 additions and 3 deletions

View File

@ -560,11 +560,15 @@ cflow_param = {
def cflow(a): def cflow(a):
arg = a if os.path.isfile('include/linux/cache.h'):
for m in popen("ctags -x --c-kinds=d include/linux/cache.h | cut -d' ' -f 1 | sort -u"):
if m in cflow_param['modifier']:
print(m)
else:
cflow_param['modifier'] += ' ' + a
if not a: if not a:
# arg = "$(find -name '*.[ch]' -o -name '*.cpp' -o -name '*.hh')" # arg = "$(find -name '*.[ch]' -o -name '*.cpp' -o -name '*.hh')"
arg = "*.c *.h *.cpp *.hh " a = "$(cat cscope.files)" if os.path.isfile('cscope.files') else "*.c *.h *.cpp *.hh "
arg = " $(cat cscope.files)"
elif isinstance(a, list): elif isinstance(a, list):
pass pass
elif os.path.isdir(a): elif os.path.isdir(a):