forked from BigfootDev/flatbuffers
fix code formatting and bug with losing enums when using --gen-onefile
This commit is contained in:
@@ -901,7 +901,7 @@ bool GenerateGeneral(const Parser &parser,
|
||||
std::string enumcode;
|
||||
GenEnum(lang, **it, &enumcode);
|
||||
if (opts.one_file) {
|
||||
one_file_code = enumcode;
|
||||
one_file_code += enumcode;
|
||||
}
|
||||
else {
|
||||
if (!SaveClass(lang, parser, (**it).name, enumcode, path, false, false))
|
||||
|
||||
Reference in New Issue
Block a user