Issue: Function in struct, error msg

Provide a better description of what's wrong when a developer tries to
enter the following:
struct foo {
function bar ();
};
Merge pull request #131 from gurok/bugtracker_function_in_struct_error_msg

Issue: Function in struct, error msg