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

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

[elpa] externals/csharp-mode 217d3a7 324/459: Revert "Add nullable opera


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode 217d3a7 324/459: Revert "Add nullable operator to concatenated identifiers"
Date: Sun, 22 Aug 2021 13:59:53 -0400 (EDT)

branch: externals/csharp-mode
commit 217d3a7b93427a68a08903aab9bed320f0a80736
Author: Theodor Thornhill <theodor.thornhill@frende.no>
Commit: Theodor Thornhill <theodor.thornhill@frende.no>

    Revert "Add nullable operator to concatenated identifiers"
    
    This reverts commit 49d83924afa71fa3f7dc774f2856977d1ce43fc4.
    
    This commit messed with the normal nullable type operator.  I need to work 
more
    on the fontification regexes to deal with this.
---
 csharp-mode.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index 8110e41..a680f69 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -61,8 +61,7 @@
   csharp "\\(\\?\\)")
 
 (c-lang-defconst c-identifier-ops
-  csharp '((left-assoc "?")
-           (left-assoc ".")))
+  csharp '((left-assoc ".")))
 
 (c-lang-defconst c-overloadable-operators
   csharp '("+" "-" "*" "/" "%" "&" "|" "^" "<<" ">>" "=="
@@ -263,8 +262,7 @@ casts and declarations are fontified.  Used on level 2 and 
higher."
                                   "\\)"))
                   `((let (id-end)
                       (goto-char (1+ (match-beginning 0)))
-                      (while (and (or (eq (char-before) ?.)
-                                       (eq (char-before) ?\?))
+                      (while (and (eq (char-before) ?.)
                                   (progn
                                     (backward-char)
                                     (c-backward-syntactic-ws)



reply via email to

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