summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-05-09 18:00:42 (GMT)
committerGitHub <noreply@github.com>2020-05-09 18:00:42 (GMT)
commit02e750fc40afe0973a490ebe925d171a9fbd7048 (patch)
tree640e8001f37a8e4b86bdf97321fa442bc749df8d /src
parent65b3b1210d6094cbd8da8450c2b0046fffa95c85 (diff)
parent10e0ee4d13ee14468f27bc64438338631d8fd61b (diff)
downloadDoxygen-02e750fc40afe0973a490ebe925d171a9fbd7048.zip
Doxygen-02e750fc40afe0973a490ebe925d171a9fbd7048.tar.gz
Doxygen-02e750fc40afe0973a490ebe925d171a9fbd7048.tar.bz2
Merge pull request #7766 from albert-github/feature/issue_7762
issue #7762 C# mode completely broken
Diffstat (limited to 'src')
-rw-r--r--src/util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index f16a28e..2b82afb 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -4872,6 +4872,7 @@ QCString escapeCharsInString(const char *name,bool allowDots,bool allowUnderscor
case '@': growBuf.addStr("_0d"); break;
case ']': growBuf.addStr("_0e"); break;
case '[': growBuf.addStr("_0f"); break;
+ case '#': growBuf.addStr("_0g"); break;
default:
if (c<0)
{
@@ -4986,6 +4987,7 @@ QCString unescapeCharsInString(const char *s)
case 'd': result+='@'; p+=2; break; // _0d -> '@'
case 'e': result+=']'; p+=2; break; // _0e -> ']'
case 'f': result+='['; p+=2; break; // _0f -> '['
+ case 'g': result+='#'; p+=2; break; // _0g -> '#'
default: // unknown escape, just pass underscore character as-is
result+=c;
break;