]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Don't check for misspelling of Not_A_Restriction_Id
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 24 Jun 2022 07:07:51 +0000 (09:07 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 12 Jul 2022 12:24:14 +0000 (12:24 +0000)
commit2b98bb583fbf9110e7282c1221448c15efb4bd2e
tree3429656a59028d516efa5a1ad21a4425e313d859
parent7e5a0317adbf1c9bc2ee5f6446bd161854c03373
[Ada] Don't check for misspelling of Not_A_Restriction_Id

When looking for a misspelling of a restriction identifier we should
ignore the Not_A_Restriction_Id literal, because it doesn't represent
any restriction.

gcc/ada/

* sem_prag.adb (Process_Restrictions_Or_Restriction_Warnings):
Fix range of iteration.
gcc/ada/sem_prag.adb