(dev) additional pattern in function search

This commit is contained in:
Ad Schellevis 2015-07-21 14:56:26 +00:00
parent 82ca85306c
commit b4bf736066

View File

@ -132,7 +132,7 @@ class DependancyCrawler(object):
"""
where_used_lst={}
for src_filename in self.find_files():
data = open(src_filename,'r').read().replace('\n',' ')
data = open(src_filename,'r').read().replace('\n',' ').replace('\t',' ')
use_list = []
for function in self._all_functions[src]:
if data.find(' %s(' % (function)) > -1 or \