From 7b7a80eae4f46cca5d3a2781b4412ef769856cdb Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Fri, 8 Jan 2010 03:56:03 +0000 Subject: Tweak doc comments. --- src/google/protobuf/compiler/plugin.proto | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/google/protobuf/compiler/plugin.proto') diff --git a/src/google/protobuf/compiler/plugin.proto b/src/google/protobuf/compiler/plugin.proto index d91c06e4..4e928b0d 100644 --- a/src/google/protobuf/compiler/plugin.proto +++ b/src/google/protobuf/compiler/plugin.proto @@ -117,10 +117,10 @@ message CodeGeneratorResponse { // // For example, the C++ code generator places the following line in the // .pb.h files that it generates: - // // @@protoc_insertion_point(package_level_decls) + // // @@protoc_insertion_point(namespace_scope) // This line appears within the scope of the file's package namespace, but // outside of any particular class. Another plugin can then specify the - // insertion_point "package_level_decls" to generate additional classes or + // insertion_point "namespace_scope" to generate additional classes or // other declarations that should be placed in this scope. // // Note that if the line containing the insertion point begins with @@ -130,6 +130,11 @@ message CodeGeneratorResponse { // should be indented the same amount as any inserted code will need to be // in order to work correctly in that context. // + // The code generator that generates the initial file and the one which + // inserts into it must both run as part of a single invocatino of protoc. + // Code generators are executed in the order in which they appear on the + // command line. + // // If |insertion_point| is present, |name| must also be present. optional string insertion_point = 2; -- cgit v1.2.3