aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/cpp_generator.cc
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2017-11-27 13:03:50 -0800
committerGravatar GitHub <noreply@github.com>2017-11-27 13:03:50 -0800
commit4922c3572b5842c2d0636665b09a0d1c844215fe (patch)
tree10419ba28d08dd0e6063f35eed7e73fb05d8b19a /src/compiler/cpp_generator.cc
parent5fc10f12b5ca9689b17f76c16ca953ccc6f98bec (diff)
parent333dd3e1ad9acdccb10a7536590317bf58102ad9 (diff)
Merge pull request #13510 from grpc/revert-12938-fix-variable-interpolation
Revert "Do not interpolate variables in leading comments."
Diffstat (limited to 'src/compiler/cpp_generator.cc')
-rw-r--r--src/compiler/cpp_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc
index dec8cd0f25..3adf0fa451 100644
--- a/src/compiler/cpp_generator.cc
+++ b/src/compiler/cpp_generator.cc
@@ -104,7 +104,7 @@ grpc::string GetHeaderPrologue(grpc_generator::File* file,
grpc::string leading_comments = file->GetLeadingComments("//");
if (!leading_comments.empty()) {
printer->Print(vars, "// Original file comments:\n");
- printer->PrintRaw(leading_comments.c_str());
+ printer->Print(leading_comments.c_str());
}
printer->Print(vars, "#ifndef GRPC_$filename_identifier$__INCLUDED\n");
printer->Print(vars, "#define GRPC_$filename_identifier$__INCLUDED\n");