Commit 60480456 authored by Ad Schellevis's avatar Ad Schellevis

(dev) improve function search in crawler

parent cbcf5927
......@@ -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',' ').replace('\t',' ')
data = open(src_filename,'r').read().replace('\n',' ').replace('\t',' ').replace('@',' ')
use_list = []
for function in self._all_functions[src]:
if data.find(' %s(' % (function)) > -1 or \
......
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