aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-28 17:50:34 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-28 17:50:34 -0700
commit7c4b86c8d126d97295e098e4ec91e3dd4c3271de (patch)
treefcb5053cac94183cc1872221056cb100bfc3206e /src
parent743038d9a8a72a851d09f2428b9fc009dbaf5298 (diff)
parent1368bc453d6f748232125df05f87858396a963d0 (diff)
Merge branch 'master' of github.com:icetooth/emscripten into incoming
Diffstat (limited to 'src')
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index 875d8bab..2b183ea1 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1745,7 +1745,7 @@ LibraryManager.library = {
type == 'F' || type == 'E' || type == 'G') {
var last = 0;
next = get();
- while (next > 0) {
+ while ( next > 0 && (!(next in __scanString.whiteSpace)) ) {
buffer.push(String.fromCharCode(next));
if (__isFloat(buffer.join(''))) {
last = buffer.length;