aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/csharp_generator.cc
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-11-27 13:08:01 -0800
committerGravatar GitHub <noreply@github.com>2017-11-27 13:08:01 -0800
commitc04f4f16cdea21d793c5c65a771e4ac21206c164 (patch)
treef571ef2ce38b985d63fef6ac37547cab9ddaec48 /src/compiler/csharp_generator.cc
parent4922c3572b5842c2d0636665b09a0d1c844215fe (diff)
Revert "Revert "Do not interpolate variables in leading comments.""
Diffstat (limited to 'src/compiler/csharp_generator.cc')
-rw-r--r--src/compiler/csharp_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/csharp_generator.cc b/src/compiler/csharp_generator.cc
index e0957bf9bb..40fe0b054a 100644
--- a/src/compiler/csharp_generator.cc
+++ b/src/compiler/csharp_generator.cc
@@ -666,7 +666,7 @@ grpc::string GetServices(const FileDescriptor* file, bool generate_client,
grpc::string leading_comments = GetCsharpComments(file, true);
if (!leading_comments.empty()) {
out.Print("// Original file comments:\n");
- out.Print(leading_comments.c_str());
+ out.PrintRaw(leading_comments.c_str());
}
out.Print("#pragma warning disable 1591\n");