Report missing support when trying to parse unknown format.
This commit is contained in:
		@@ -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
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user