diff options
Diffstat (limited to 'src/idl_parser.cpp')
-rw-r--r-- | src/idl_parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index 263c89b9..d41ad00d 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -1623,7 +1623,8 @@ CheckedError Parser::CheckClash(std::vector<FieldDef *> &fields, bool Parser::SupportsVectorOfUnions() const { return opts.lang_to_generate != 0 && (opts.lang_to_generate & ~(IDLOptions::kCpp | IDLOptions::kJs | - IDLOptions::kTs | IDLOptions::kPhp)) == 0; + IDLOptions::kTs | IDLOptions::kPhp | + IDLOptions::kJava | IDLOptions::kCSharp)) == 0; } Namespace *Parser::UniqueNamespace(Namespace *ns) { |