Allowing numeric literals in FunctionExpression, closes #5211

fixes #5211