mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
LibPDF: Allow numbers to start with whitespace
This commit is contained in:
parent
ab57fde8ec
commit
a37f3390dc
1 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,8 @@ PDFErrorOr<NonnullRefPtr<IndirectValue>> Parser::parse_indirect_value()
|
|||
|
||||
PDFErrorOr<Value> Parser::parse_number()
|
||||
{
|
||||
m_reader.consume_whitespace();
|
||||
|
||||
size_t start_offset = m_reader.offset();
|
||||
bool is_float = false;
|
||||
bool consumed_digit = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue