Skip to content

Commit

Permalink
Corrected nulls not being parsed as such.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbooker committed Jan 27, 2022
1 parent be49adf commit b75dfce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/json5/json5_input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ inline error parser::parse_value( value &result )
else if ( lit == token_type::literal_false )
result = value( false );
else if ( lit == token_type::literal_null )
result = value();
result = value(nullptr);
else
return make_error( error::invalid_literal );
}
Expand Down

0 comments on commit b75dfce

Please sign in to comment.