diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index f69ae4c07..0dc739240 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -1758,6 +1758,9 @@ CheckedError Parser::SkipAnyJsonValue() { case kTokenFloatConstant: EXPECT(kTokenFloatConstant); break; + case kTokenNull: + EXPECT(kTokenNull); + break; default: return Error(std::string("Unexpected token:") + std::string(1, static_cast(token_))); }