diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-19 10:42:27 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-19 10:42:27 -0800 |
commit | 8eb8c6bf8f0250e90b8761c5cecefdf749c7b4c1 (patch) | |
tree | 41aa0c181be9eb31fce279374285a3a95baa2367 | |
parent | 181a08d468d13914cb93dff8a9884e7cf15f5687 (diff) |
more dotzero fixes
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index c67a2cda..b5e7f6c7 100755 --- a/emscripten.py +++ b/emscripten.py @@ -825,7 +825,7 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None, else: num = num[:e] + '.0' + num[e:] return m.group(1) + m.group(2) + num - funcs = re.sub(r'([(=,+\-*/%<>] *)\+(-?)((0x)?[0-9a-f]*\.?[0-9]+([eE][-+]?[0-9]+)?)', lambda m: fix_dot_zero(m), funcs) + funcs = re.sub(r'([(=,+\-*/%<>:?] *)\+(-?)((0x)?[0-9a-f]*\.?[0-9]+([eE][-+]?[0-9]+)?)', lambda m: fix_dot_zero(m), funcs) # js compiler |