1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:47:44 +00:00

LibPDF: Differentiate Value's null and empty states

This commit is contained in:
Matthew Olsson 2021-05-24 13:41:40 -07:00 committed by Ali Mohammad Pur
parent bd9e20ef79
commit d654fe0e41
3 changed files with 15 additions and 2 deletions

View file

@ -268,7 +268,7 @@ Value Parser::parse_value()
if (m_reader.matches("null")) {
m_reader.move_by(4);
consume_whitespace();
return Value();
return Value(Value::NullTag {});
}
if (m_reader.matches("true")) {