branch: externals/csharp-mode commit 217d3a7b93427a68a08903aab9bed320f0a80736 Author: Theodor Thornhill <theodor.thornh...@frende.no> Commit: Theodor Thornhill <theodor.thornh...@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)