Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc |
index c13ed65beced978bae01b6c4470afec2d0b139f7..d74e8c8847208fa7fa35669f6cae9509c00cf3d3 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_generator.cc |
@@ -83,6 +83,9 @@ bool Generator::Generate( |
cli_options.base_namespace_specified = true; |
} else if (options[i].first == "internal_access") { |
cli_options.internal_access = true; |
+ } else if (options[i].first == "legacy_enum_values") { |
+ // TODO: Remove this before final release |
+ cli_options.legacy_enum_values = true; |
} else { |
*error = "Unknown generator option: " + options[i].first; |
return false; |