[Ada] Adding support for Ada.Locales package
authorJavier Miranda <miranda@adacore.com>
Tue, 22 May 2018 13:19:24 +0000 (13:19 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 22 May 2018 13:19:24 +0000 (13:19 +0000)
commit92ea8dd20e05e6a71170743e7d9a711c9599f1d1
tree863c05b13c59c787599a55181bae8acaa53f3dd3
parente5fc017905d64f59f189bf9453978fa158a289e6
[Ada] Adding support for Ada.Locales package

This patch adds generic support for the Ada.Locales package that
relies on the setlocale() C service.

2018-05-22  Javier Miranda  <miranda@adacore.com>

gcc/ada/

* locales.c: New implementation for the Ada.Locales package.
* libgnat/a-locale.ads: Remove comment indicating that this is not
implemented.
* doc/gnat_rm/standard_library_routines.rst: Remove comment indicating
that this is not implemented.
* gnat_rm.texi: Regenerate.

From-SVN: r260509
gcc/ada/ChangeLog
gcc/ada/doc/gnat_rm/standard_library_routines.rst
gcc/ada/gnat_rm.texi
gcc/ada/libgnat/a-locale.ads
gcc/ada/locales.c