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:
parent
ea56c40c48
commit
09e4ab56db
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue