emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/swift-mode 7de00af05f 4/7: Add #unavailable keyword


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 7de00af05f 4/7: Add #unavailable keyword
Date: Sat, 18 Jun 2022 04:58:58 -0400 (EDT)

branch: elpa/swift-mode
commit 7de00af05fa22b067a9c9a7090d5355e86c3a108
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Add #unavailable keyword
    
    
https://github.com/apple/swift-evolution/blob/main/proposals/0290-negative-availability.md
---
 swift-mode-font-lock.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/swift-mode-font-lock.el b/swift-mode-font-lock.el
index d0cfefab56..bbe0d7672f 100644
--- a/swift-mode-font-lock.el
+++ b/swift-mode-font-lock.el
@@ -535,7 +535,8 @@ Return nil otherwise."
 (defconst swift-mode:preprocessor-keywords
   '("#available" "#colorLiteral" "#column" "#dsohandle" "#else" "#elseif"
     "#endif" "#error" "#file" "#filePath" "#fileLiteral" "#function" "#if"
-    "#imageLiteral" "#keyPath" "#line" "#selector" "#sourceLocation" 
"#warning")
+    "#imageLiteral" "#keyPath" "#line" "#selector" "#sourceLocation"
+    "#unavailable" "#warning")
   "Keywords that begin with a number sign (#).")
 
 (defconst swift-mode:declaration-keywords



reply via email to

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