diff options
author | murgatroid99 <mlumish@google.com> | 2016-02-26 11:44:24 -0800 |
---|---|---|
committer | murgatroid99 <mlumish@google.com> | 2016-02-26 11:44:24 -0800 |
commit | 7d69ea63c8af9c7be43434993c82f93033343dce (patch) | |
tree | 663621044bb3e5ee9426405ffbac4e5624fa4759 /src/compiler | |
parent | 4c8f8d89e7fec857167ff74803baf82e43b6e28a (diff) |
Minor change to node generator, and add a folder
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/node_generator.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/node_generator.cc b/src/compiler/node_generator.cc index 00db79cabb..7605b64531 100644 --- a/src/compiler/node_generator.cc +++ b/src/compiler/node_generator.cc @@ -210,6 +210,8 @@ grpc::string GetImports(const FileDescriptor *file) { return output; } + out.Print("// GENERATED CODE -- DO NOT EDIT!\n\n"); + out.Print("var grpc = require('grpc');\n"); if (file->message_type_count() > 0) { grpc::string file_path = GetRelativePath(file->name(), |