OSDN Git Service

Add C# 6.0 reserved words to style list (#719)
authorRodrigo Cesar <digocesar@yahoo.com.br>
Tue, 6 Apr 2021 23:52:37 +0000 (20:52 -0300)
committerGitHub <noreply@github.com>
Tue, 6 Apr 2021 23:52:37 +0000 (08:52 +0900)
Externals/crystaledit/editlib/parsers/csharp.cpp

index 01bac56..984960c 100644 (file)
@@ -78,6 +78,7 @@ static const TCHAR * s_apszCppKeywordList[] =
     _T ("is"),
     _T ("lock"),
     _T ("long"),
+    _T ("nameof"),
     _T ("namespace"),
     _T ("new"),
     _T ("null"),
@@ -113,6 +114,8 @@ static const TCHAR * s_apszCppKeywordList[] =
     _T ("using"),
     _T ("virtual"),
     _T ("void"),
+    _T ("when"),
+    _T ("while"),
   };