localize string returned from visium's md_atof ()

I'm not sure the string it returns is particularly useful, or better than the
string returned by other atof implementations on failure, but given the others
return a localized string it seems like this one should too.

gas/ChangeLog:

2016-03-24  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>

	* config/tc-visium.c (md_atof): Localize the string returned on
	failure.
This commit is contained in:
Trevor Saunders 2016-03-19 07:38:46 -04:00
parent dfa3faca36
commit eda6e9a4a2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-03-24 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-visium.c (md_atof): Localize the string returned on
failure.
2016-03-22 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
* config/tc-h8300.c (h8300_elf_section): Add const qualifiers.

View File

@ -861,7 +861,7 @@ md_atof (int type, char *litP, int *sizeP)
default:
*sizeP = 0;
return "Bad call to MD_ATOF()";
return _("Bad call to MD_ATOF()");
}
t = atof_ieee (input_line_pointer, type, words);