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

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

[elpa] externals/csharp-mode be5af57 322/459: Fix optional type suffix r


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode be5af57 322/459: Fix optional type suffix regex
Date: Sun, 22 Aug 2021 13:59:53 -0400 (EDT)

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

    Fix optional type suffix regex
---
 csharp-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/csharp-mode.el b/csharp-mode.el
index e9e9882..a680f69 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -25,6 +25,7 @@
 
 ;;; Code:
 
+
 (when (version< emacs-version "25.1")
   (require 'cl))
 (require 'cc-mode)
@@ -56,6 +57,9 @@
 (c-lang-defconst c-symbol-start
   csharp (concat "[" c-alpha "_@]"))
 
+(c-lang-defconst c-opt-type-suffix-key
+  csharp "\\(\\?\\)")
+
 (c-lang-defconst c-identifier-ops
   csharp '((left-assoc ".")))
 
@@ -178,9 +182,6 @@
 (c-lang-defconst c-decl-prefix-re
   csharp "\\([{}(;,<]+\\)")
 
-(c-lang-defconst c-opt-type-suffix-key
-  csharp (concat "\\(\\[" (c-lang-const c-simple-ws) "*\\]\\|\\.\\.\\.\\)"))
-
 (c-lang-defconst c-recognize-typeless-decls
   csharp t)
 



reply via email to

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