Commit c47783c0 by Richard Stallman

Improve error message for sym undeclared at top level.

From-SVN: r4154
parent 81e4c08f
......@@ -565,7 +565,7 @@ end ifobjc
}
else if (current_function_decl == 0)
{
error ("`%s' undeclared, outside of functions",
error ("`%s' undeclared here (not in a function)",
IDENTIFIER_POINTER ($1));
$$ = error_mark_node;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment