ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

choice of keywords?


From: Stephen Leake
Subject: choice of keywords?
Date: Sat, 29 Aug 2020 10:31:21 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (windows-nt)

Is anyone setting ada-language-version?

The available choices are ada-83-keywords ada-95-keywords ada-2005-keywords
ada-2012-keywords.

However, this only affects the keyword highlighting in Ada buffers, not
the syntax that the parser accepts.

So if you use ada-83-keywords, "protected" (new in Ada 95) is still
treated as a reserved word by the parser.

Ada 2020 has one new keyword: parallel, and new syntax for several
features. I'm adding that to the parser for the next ada-mode release.

Should I add ada-2020-keywords, or delete ada-language-version?

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]