]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Reuse Snames classification of reserved words
authorRonan Desplanques <desplanques@adacore.com>
Tue, 29 Apr 2025 12:34:47 +0000 (14:34 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 30 Jun 2025 13:47:23 +0000 (15:47 +0200)
commit98b9ecc324aea049cefbb2a98f2d8b55f9bb7254
tree364e341d34a3b9fc00c1380ae733cc1d4cb18655
parentd5a1ff59d8b0eca8693b94b152f9042a577a4965
ada: Reuse Snames classification of reserved words

Before this patch, Check_Future_Keyword had hardcoded lists of what
reserved words were introduced in what versions of the Ada language
specification. This patch makes it use the classification in Snames
instead.

gcc/ada/ChangeLog:

* par-util.adb (Check_Future_Keyword): Use Snames subtypes. Extend
comment.
gcc/ada/par-util.adb