Added checking for actuals in function calls that use undeclared functions