Fix `unknown variable' and `unknown function' error signaling