Fixed language for generators not being set correctly.
Change-Id: I36c1f05efa836b32635e3274ac0ba976a8961bdd Tested: on Linux.
This commit is contained in:
parent
fe2f8d32aa
commit
b0d5bb1c4b
|
@ -268,7 +268,7 @@ int main(int argc, const char *argv[]) {
|
|||
flatbuffers::StripExtension(*file_it));
|
||||
|
||||
for (size_t i = 0; i < num_generators; ++i) {
|
||||
opts.lang = generators[i].lang;
|
||||
parser->opts.lang = generators[i].lang;
|
||||
if (generator_enabled[i]) {
|
||||
if (!print_make_rules) {
|
||||
flatbuffers::EnsureDirExists(output_path);
|
||||
|
|
Loading…
Reference in New Issue