diff options
author | Michi Henning <michi@zeroc.com> | 2005-09-21 03:17:49 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-09-21 03:17:49 +0000 |
commit | c8c8274bf45e01e1b951c309df0e7565aec149c0 (patch) | |
tree | d83ad78d2a3ef5f9a3d27244b3608cf58a655115 /cpp/src/Slice/DotNetNames.cpp | |
parent | Bug 467. (diff) | |
download | ice-c8c8274bf45e01e1b951c309df0e7565aec149c0.tar.bz2 ice-c8c8274bf45e01e1b951c309df0e7565aec149c0.tar.xz ice-c8c8274bf45e01e1b951c309df0e7565aec149c0.zip |
Bug 426.
Diffstat (limited to 'cpp/src/Slice/DotNetNames.cpp')
-rwxr-xr-x | cpp/src/Slice/DotNetNames.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Slice/DotNetNames.cpp b/cpp/src/Slice/DotNetNames.cpp index 379792ad671..58b42376ba3 100755 --- a/cpp/src/Slice/DotNetNames.cpp +++ b/cpp/src/Slice/DotNetNames.cpp @@ -104,7 +104,8 @@ ciEquals(const string& s, const char* p) return true; } -const char* manglePrefix = "_Ice_"; +const char* manglePrefix = "ice_"; +const char* mangleSuffix = "_"; static bool mangle(const string& s, const Node* np, string& newName) @@ -114,7 +115,7 @@ mangle(const string& s, const Node* np, string& newName) { if(ciEquals(s, *namep)) { - newName = manglePrefix + s; + newName = manglePrefix + s + mangleSuffix; return true; } ++namep; |