2
0

Report missing support when trying to parse unknown format.

This commit is contained in:
Maarten Billemont 2020-04-27 16:32:30 -04:00
parent 7575924d80
commit cc2dca3bd0

View File

@ -1097,6 +1097,8 @@ MPMarshalledFile *mpw_marshal_read(
info->format = MPMarshalFormatJSON;
#if MPW_JSON
mpw_marshal_read_json( file, in );
#else
mpw_marshal_error( file, MPMarshalErrorFormat, "JSON support is not enabled." );
#endif
}
}