Delete IDLOptions::lang (#6841)

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2021-09-13 18:18:00 -04:00
committed by GitHub
parent 47d35f1053
commit 0a3b017f09
6 changed files with 18 additions and 22 deletions

View File

@@ -527,7 +527,6 @@ int FlatCompiler::Compile(int argc, const char **argv) {
flatbuffers::StripPath(flatbuffers::StripExtension(filename));
for (size_t i = 0; i < params_.num_generators; ++i) {
parser->opts.lang = params_.generators[i].lang;
if (generator_enabled[i]) {
if (!print_make_rules) {
flatbuffers::EnsureDirExists(output_path);