It's legal to use '-' in function name. So need to support it.
This is fixed by http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=b680da3520a8fa589848a9c205b52688f3ca13e3