[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode a29398b 239/496: Fix half-open range operator
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode a29398b 239/496: Fix half-open range operator |
Date: |
Sun, 29 Aug 2021 11:33:43 -0400 (EDT) |
branch: elpa/swift-mode
commit a29398bcb4bcc369c97c007f01c09ff0217c1979
Author: Victor Shamanov <wiruzx@gmail.com>
Commit: Victor Shamanov <wiruzx@gmail.com>
Fix half-open range operator
It was changed in first versions of Swift
---
swift-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/swift-mode.el b/swift-mode.el
index 6121b0a..a8d8d2b 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -180,7 +180,7 @@
(left "&&") ;; Conjunctive
(Left associative, precedence level 120)
(nonassoc "<" "<=" ">" ">=" "==" "!=" "===" "!==" "~=") ;; Comparative
(No associativity, precedence level 130)
(nonassoc "is" "as" "as?") ;; Cast (No
associativity, precedence level 132)
- (nonassoc ".." "...") ;; Range (No
associativity, precedence level 135)
+ (nonassoc "..<" "...") ;; Range (No
associativity, precedence level 135)
(left "+" "-" "&+" "&-" "|" "^") ;; Additive
(Left associative, precedence level 140)
(left "*" "/" "%" "&*" "&/" "&%" "&") ;;
Multiplicative (Left associative, precedence level 150)
(nonassoc "<<" ">>") ;;
Exponentiative (No associativity, precedence level 160)
@@ -199,7 +199,7 @@
(defvar swift-smie--operators-regexp
(regexp-opt '("*=" "/=" "%=" "+=" "-=" "<<=" ">>=" "&=" "^=" "|=" "&&=" "||="
"<" "<=" ">" ">=" "==" "!=" "===" "!==" "~=" "||" "&&"
- "is" "as" "as?" ".." "..."
+ "is" "as" "as?" "..<" "..."
"+" "-" "&+" "&-" "|" "^"
"*" "/" "%" "&*" "&/" "&%" "&"
"<<" ">>" "??")))
- [nongnu] elpa/swift-mode cba4538 161/496: Merge pull request #61 from ckruse/fix_55, (continued)
- [nongnu] elpa/swift-mode cba4538 161/496: Merge pull request #61 from ckruse/fix_55, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5611c0f 164/496: Updated syntax: a lot of attributes moved to keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 250e8e4 172/496: Merge pull request #67 from jmibanez/fix-flycheck-and-byte-compilation-bug, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a6267eb 189/496: Improve indentation for the function definitions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 782378c 214/496: Correct regex in lexer for the "default" keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c38b721 216/496: Support default values for arguments in function declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2cb54c9 222/496: Make grammar for if statement a bit more precise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b6bad10 225/496: Set minimum required version to 24.4, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4a27477 230/496: Merge pull request #89 from uk-ar/fix-indent-in-trailing-closure, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4289bd7 235/496: Fix implicit semicolon rule, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a29398b 239/496: Fix half-open range operator,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 7f25806 241/496: Add as! operator, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 86339ed 247/496: Fix curly bracket's syntax table to enable electric-pair, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 37cab39 263/496: Improve indentation for switch and class statements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cb7ba6f 245/496: Add an option for indent after hanging comma, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0185315 274/496: Merge pull request #107 from uk-ar/fix-forward-list, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 27ec163 286/496: Merge pull request #113 from uk-ar/add-keyword-for-attribute, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f43317e 290/496: Add MELPA badge in README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c73ce40 301/496: Update README.md about swift3-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7fc03bf 295/496: Merge pull request #119 from syohex/update-url, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 73abb98 292/496: Use cl-lib function instead of cl.el one, ELPA Syncer, 2021/08/29