diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2020-08-18 14:00:02 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2020-08-18 14:00:02 -0700 |
commit | 77f966f89fcf76fa67485adf941ac6e90d28029c (patch) | |
tree | 4f168bc6acfafa09c71e428b966b33021bbaa28e /src/idl_parser.cpp | |
parent | e86d5b8e97c09d4eac46dbbb8541f180d05f1da2 (diff) | |
download | flatbuffers-77f966f89fcf76fa67485adf941ac6e90d28029c.tar.gz flatbuffers-77f966f89fcf76fa67485adf941ac6e90d28029c.tar.bz2 flatbuffers-77f966f89fcf76fa67485adf941ac6e90d28029c.zip |
[Lobster] optional scalars support
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 1c9303c9..633ce6ca 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -2258,7 +2258,8 @@ CheckedError Parser::CheckClash(std::vector<FieldDef *> &fields, bool Parser::SupportsNullableScalars() const { - return !(opts.lang_to_generate & ~(IDLOptions::kRust | IDLOptions::kSwift)); + return !(opts.lang_to_generate & + ~(IDLOptions::kRust | IDLOptions::kSwift | IDLOptions::kLobster)); } bool Parser::SupportsAdvancedUnionFeatures() const { |