[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 8100976 267/459: Fix fontification of unsaf
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 8100976 267/459: Fix fontification of unsafe methods. |
Date: |
Sun, 22 Aug 2021 13:59:41 -0400 (EDT) |
branch: externals/csharp-mode
commit 810097652e03f36b686ec6b4bf60a0a53838b5f3
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Fix fontification of unsafe methods.
Disable fontification-test for methods with new-modifier.
Fix build.
---
csharp-mode.el | 6 +++---
test-files/imenu-method-test.cs | 4 +++-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/csharp-mode.el b/csharp-mode.el
index e61b11e..e6d411d 100644
--- a/csharp-mode.el
+++ b/csharp-mode.el
@@ -1269,7 +1269,7 @@ Currently handled:
;; instead of create one.
(c-lang-defconst c-type-modifier-kwds
;; EMCA-344, S?
- csharp '("readonly" "const" "volatile" "new" "unsafe"))
+ csharp '("readonly" "const" "volatile" "new"))
;; Tue, 20 Apr 2010 16:02
@@ -1324,7 +1324,7 @@ Currently handled:
csharp '("public" "partial" "private" "const" "abstract" "sealed"
"protected" "ref" "out" "static" "virtual"
"implicit" "explicit" "fixed"
- "override" "params" "internal" "async" "extern"))
+ "override" "params" "internal" "async" "extern" "unsafe"))
;; Thu, 22 Apr 2010 23:02
@@ -1363,7 +1363,7 @@ This regexp is assumed to not match any non-operator
identifier."
;; Statement keywords followed directly by a substatement.
;; catch is not one of them, because catch has a paren (typically).
(c-lang-defconst c-block-stmt-1-kwds
- csharp '("do" "else" "try" "finally" "unsafe"))
+ csharp '("do" "else" "try" "finally"))
;; Statement keywords followed by a paren sexp and then by a substatement.
diff --git a/test-files/imenu-method-test.cs b/test-files/imenu-method-test.cs
index c561fcc..d1d7e2a 100644
--- a/test-files/imenu-method-test.cs
+++ b/test-files/imenu-method-test.cs
@@ -14,7 +14,9 @@ public class MethodTest
await foo;
}
- public new string ToString()
+ // Failing test: methods with new-modifier
+ // public new string ShouldStillBeMethod()
+ public string ToString()
{
}
- [elpa] externals/csharp-mode 49d8392 323/459: Add nullable operator to concatenated identifiers, (continued)
- [elpa] externals/csharp-mode 49d8392 323/459: Add nullable operator to concatenated identifiers, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 2ee53e4 234/459: Fix some easy checkdoc errors., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 309e2c8 238/459: Create failing test-case., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode cef0d90 243/459: Don't override user's customizations., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode af61254 244/459: Fix off-by-one error for region directive comments, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4b3d6f8 247/459: More region comment fixes., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b20e65f 249/459: communicate default style safely (#118), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 29dab33 255/459: Silence warning in compatibility-shim., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0481983 264/459: Fix indentation behaviour of preprocessor statements., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4babfff 265/459: Merge branch 'preproc-indentation', ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8100976 267/459: Fix fontification of unsafe methods.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 68a8a69 270/459: Fixed enum indentation level., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0825112 276/459: Fix CI-error on Emacs 25.x, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode d537cfa 271/459: Add test-case for Enum-indentation., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 981ff38 275/459: Make it easier to reproduce CI errors locally., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 274dd88 273/459: Update CI-settings, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e7e96e3 272/459: Fixed callback indentation level. (#145), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 85d36e1 280/459: Fix lambda indentation #105, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4885177 286/459: Merge pull request #161 from ryuslash/fix-package-fontification, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 5a9c8eb 287/459: Merge pull request #159 from ronnieholm/master, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f640019 285/459: Fix display of ‘package’ as any sort of name, ELPA Syncer, 2021/08/22