diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-16 01:00:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-16 01:00:47 +0300 |
commit | e215e89791b97ebb6831504480c8ab4734a2117e (patch) | |
tree | f6da72fc048c72f3458350f8faa8fbfa1339ff77 | |
parent | 9ecfd98a87cce0ad345c2dedf14f892d12c49abb (diff) | |
parent | a12cec99f8b64a0b99ae6f8a7e4724039406aea3 (diff) |
Merge branch 'tl/userdiff-csharp-async'
Update funcname pattern used for C# to recognize "async" keyword.
* tl/userdiff-csharp-async:
userdiff.c: add C# async keyword in diff pattern
-rw-r--r-- | userdiff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userdiff.c b/userdiff.c index 8f5028f6b2..a69241b25d 100644 --- a/userdiff.c +++ b/userdiff.c @@ -147,7 +147,7 @@ PATTERNS("csharp", /* Keywords */ "!^[ \t]*(do|while|for|if|else|instanceof|new|return|switch|case|throw|catch|using)\n" /* Methods and constructors */ - "^[ \t]*(((static|public|internal|private|protected|new|virtual|sealed|override|unsafe)[ \t]+)*[][<>@.~_[:alnum:]]+[ \t]+[<>@._[:alnum:]]+[ \t]*\\(.*\\))[ \t]*$\n" + "^[ \t]*(((static|public|internal|private|protected|new|virtual|sealed|override|unsafe|async)[ \t]+)*[][<>@.~_[:alnum:]]+[ \t]+[<>@._[:alnum:]]+[ \t]*\\(.*\\))[ \t]*$\n" /* Properties */ "^[ \t]*(((static|public|internal|private|protected|new|virtual|sealed|override|unsafe)[ \t]+)*[][<>@.~_[:alnum:]]+[ \t]+[@._[:alnum:]]+)[ \t]*$\n" /* Type definitions */ |