aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/objective_c_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/objective_c_generator.cc
parent4922c3572b5842c2d0636665b09a0d1c844215fe (diff)
Revert "Revert "Do not interpolate variables in leading comments.""
Diffstat (limited to 'src/compiler/objective_c_generator.cc')
-rw-r--r--src/compiler/objective_c_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/objective_c_generator.cc b/src/compiler/objective_c_generator.cc
index 349f1dc281..8fe30e97e9 100644
--- a/src/compiler/objective_c_generator.cc
+++ b/src/compiler/objective_c_generator.cc
@@ -65,7 +65,7 @@ static void PrintAllComments(const DescriptorType* desc, Printer* printer) {
printer->Print(" * ");
size_t start_pos = it->find_first_not_of(' ');
if (start_pos != grpc::string::npos) {
- printer->Print(it->c_str() + start_pos);
+ printer->PrintRaw(it->c_str() + start_pos);
}
printer->Print("\n");
}