diff options
Diffstat (limited to 'src/idl_parser.cpp')
-rw-r--r-- | src/idl_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index c633191d..0f48c84e 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -2434,7 +2434,7 @@ bool Parser::SupportsOptionalScalars() const { bool Parser::SupportsDefaultVectorsAndStrings() const { static FLATBUFFERS_CONSTEXPR unsigned long supported_langs = - IDLOptions::kRust; + IDLOptions::kRust | IDLOptions::kSwift; return !(opts.lang_to_generate & ~supported_langs); } |