Turn off nested FlatBuffers/FlexBuffers for the fuzzer

this is a temporary fix to allow the fuzzer to work until the real fix of adding a verifier for this is added.
This commit is contained in:
Wouter van Oortmerssen
2021-11-22 16:28:04 -08:00
parent c05f6783a6
commit 4d0e9a8706
3 changed files with 10 additions and 2 deletions

View File

@@ -593,6 +593,8 @@ struct IDLOptions {
bool no_warnings;
std::string project_root;
bool cs_global_alias;
bool json_nested_flatbuffers;
bool json_nested_flexbuffers;
// Possible options for the more general generator below.
enum Language {
@@ -680,6 +682,8 @@ struct IDLOptions {
no_warnings(false),
project_root(""),
cs_global_alias(false),
json_nested_flatbuffers(true),
json_nested_flexbuffers(true),
mini_reflect(IDLOptions::kNone),
require_explicit_ids(false),
lang_to_generate(0),