Fix public import header generation.

PiperOrigin-RevId: 472841214
pull/13171/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 4215bc82ea
commit 467e2b5e3b
  1. 2
      upbc/protoc-gen-upb.cc

@ -896,7 +896,7 @@ void WriteHeader(const FileLayout& layout, Output& output) {
if (i == 0) {
output("/* Public Imports. */\n");
}
output("#include \"$0\"\n", HeaderFilename(file));
output("#include \"$0\"\n", HeaderFilename(file->public_dependency(i)));
if (i == file->public_dependency_count() - 1) {
output("\n");
}

Loading…
Cancel
Save