1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #295 from sbarman/lexerfix

fix for bug with empty strings
This commit is contained in:
Andreas Gal 2011-08-03 15:05:27 -07:00
commit 271fd88a49

3
pdf.js
View file

@ -2187,7 +2187,6 @@ var Lexer = (function() {
return value;
},
getString: function() {
var n = 0;
var numParen = 1;
var done = false;
var str = '';
@ -2269,8 +2268,6 @@ var Lexer = (function() {
break;
}
} while (!done);
if (!str.length)
return EOF;
return str;
},
getName: function(ch) {