Check if a file depends on itself and not include it in the depends list. Also slight modification to use regex to not detect variables starting with use
Hi @gkenway, I've included both of these changes in the rewrite branch, with attribution to you. I've also started adding tests to that branch to catch things like this.
Check if a file depends on itself and not include it in the depends list. Also slight modification to use regex to not detect variables starting with use