mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:37:36 +00:00
LibPDF: Parse floating point numbers that omit a leading zero correctly
This commit is contained in:
parent
67d0f5686d
commit
7ecd420b03
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ bool Reader::matches_number() const
|
||||||
if (done())
|
if (done())
|
||||||
return false;
|
return false;
|
||||||
auto ch = peek();
|
auto ch = peek();
|
||||||
return isdigit(ch) || ch == '-' || ch == '+';
|
return isdigit(ch) || ch == '-' || ch == '+' || ch == '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Reader::matches_delimiter() const
|
bool Reader::matches_delimiter() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue