Skip to content

Commit

Permalink
Update php_generator.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Oct 27, 2023
1 parent 7e2ad05 commit a75f974
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/google/protobuf/compiler/php/php_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1615,14 +1615,7 @@ static std::string EscapePhpdoc(absl::string_view input) {
for (std::string::size_type i = 0; i < input.size(); i++) {
char c = input[i];
switch (c) {
// "/*" is allowed, do nothing
// case '*':
// if (prev == '/') {
// result.append("&#42;");
// } else {
// result.push_back(c);
// }
// break;
// NOTE: "/*" is allowed, do not escape it
case '/':
// Escape "*/" with "{@*}".
if (prev == '*') {
Expand Down

0 comments on commit a75f974

Please sign in to comment.