mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fixes getNumber at the end of stream
This commit is contained in:
parent
ce9460113c
commit
4c0f9eb924
3 changed files with 19 additions and 2 deletions
|
@ -333,8 +333,7 @@ var Lexer = (function LexerClosure() {
|
|||
var floating = false;
|
||||
var str = ch;
|
||||
var stream = this.stream;
|
||||
for (;;) {
|
||||
ch = stream.lookChar();
|
||||
while ((ch = stream.lookChar())) {
|
||||
if (ch == '.' && !floating) {
|
||||
str += ch;
|
||||
floating = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue