mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-03 10:47:28 +00:00
Added --gen-all to generate code for a schema and all its includes.
Also refactored the way options are stored. Change-Id: I709ac908cd2aba396c9c282725cf1d42ccce0882 Tested: on Linux.
This commit is contained in:
parent
47478117d8
commit
45bda6e08d
15 changed files with 240 additions and 268 deletions
|
|
@ -638,8 +638,7 @@ static void GenStructBuilder(const StructDef &struct_def,
|
|||
|
||||
bool GeneratePython(const Parser &parser,
|
||||
const std::string &path,
|
||||
const std::string & /*file_name*/,
|
||||
const GeneratorOptions & /*opts*/) {
|
||||
const std::string & /*file_name*/) {
|
||||
for (auto it = parser.enums_.vec.begin();
|
||||
it != parser.enums_.vec.end(); ++it) {
|
||||
std::string enumcode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue