toplev.c (read_integral_parameter): Use "argument" in error message to distinguish it from actual invalid options.

2003-04-25  Phil Edwards  <pme@gcc.gnu.org>

	* toplev.c (read_integral_parameter):  Use "argument" in error
	message to distinguish it from actual invalid options.

From-SVN: r66097
This commit is contained in:
Phil Edwards 2003-04-26 03:27:07 +00:00
parent ea56c40c48
commit 09e4ab56db
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-04-25 Phil Edwards <pme@gcc.gnu.org>
* toplev.c (read_integral_parameter): Use "argument" in error
message to distinguish it from actual invalid options.
2003-04-25 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous

View File

@ -1673,7 +1673,7 @@ read_integral_parameter (p, pname, defval)
if (*endp != 0)
{
if (pname != 0)
error ("invalid option `%s'", pname);
error ("invalid option argument `%s'", pname);
return defval;
}