]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Bad handling of ASCII with -gnatyn
authorArnaud Charlet <charlet@adacore.com>
Thu, 19 Jan 2023 13:34:20 +0000 (13:34 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 16 May 2023 08:30:56 +0000 (10:30 +0200)
commit05c1e15f9faad6c59c8e82e665c7cbcf8b8d7a40
tree86bde7079990d63bee40147bc6e9da86bf13e348
parent4b8f39b21e27919c6de00e65b0ba29222c057d26
ada: Bad handling of ASCII with -gnatyn

ASCII is special cased but this wasn't taking into account all cases
such as Standard.ASCII.

gcc/ada/

* snames.ads-tmpl (Name_ASCII): New.
* style.adb (Check_Identifier): Fix handling of ASCII.
gcc/ada/snames.ads-tmpl
gcc/ada/style.adb