Fix wrong registration of bash function names used for recursion checking. Also fixes the node name when checking for recursive calls.
Fix a general bug where calls outside of a function, but not inside another function (i.e, global scope), is counted as recursion. See the bash file test/bash/Recursion.sh for example. This bug seems to happen for other languages that allow this as well, but mostly for scripting languages.
This PR does 3 things:
test/bash/Recursion.sh
for example. This bug seems to happen for other languages that allow this as well, but mostly for scripting languages.