aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/python_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/python_generator.cc
parent4922c3572b5842c2d0636665b09a0d1c844215fe (diff)
Revert "Revert "Do not interpolate variables in leading comments.""
Diffstat (limited to 'src/compiler/python_generator.cc')
-rw-r--r--src/compiler/python_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/python_generator.cc b/src/compiler/python_generator.cc
index c1ae7d31ad..8a0b889454 100644
--- a/src/compiler/python_generator.cc
+++ b/src/compiler/python_generator.cc
@@ -101,7 +101,7 @@ void PrivateGenerator::PrintAllComments(StringVector comments,
++it) {
size_t start_pos = it->find_first_not_of(' ');
if (start_pos != grpc::string::npos) {
- out->Print(it->c_str() + start_pos);
+ out->PrintRaw(it->c_str() + start_pos);
}
out->Print("\n");
}