mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-14 16:36:55 +00:00
Implement --file-names-only (#8788)
* flatc builds and seems to work, some of the extra targets are having linker errors * fix build system * pipeline failures * un-rename files * refactor to use unique_ptr * typo * rm make_unique, add comments * fix cmake --------- Co-authored-by: Wouter van Oortmerssen <aardappel@gmail.com>
This commit is contained in:
@@ -403,8 +403,9 @@ class LobsterGenerator : public BaseGenerator {
|
||||
auto& struct_def = **it;
|
||||
GenStruct(struct_def, &code);
|
||||
}
|
||||
return SaveFile(GeneratedFileName(path_, file_name_, parser_.opts).c_str(),
|
||||
code, false);
|
||||
return parser_.opts.file_saver->SaveFile(
|
||||
GeneratedFileName(path_, file_name_, parser_.opts).c_str(), code,
|
||||
false);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user