diff options
author | Araq <rumpf_a@web.de> | 2014-07-16 09:00:41 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-16 09:00:41 +0200 |
commit | 4dc2925b7a8dbbb20b497f3c151a041b02c5786e (patch) | |
tree | d921831b29e9954cf61870aedafbeca178b1123c /lib | |
parent | e94203ac217460c181b6d098f768d18f3151ef08 (diff) | |
download | Nim-4dc2925b7a8dbbb20b497f3c151a041b02c5786e.tar.gz |
JS compilation works again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/jssys.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/jssys.nim b/lib/system/jssys.nim index 1196a81ef..8766906e3 100644 --- a/lib/system/jssys.nim +++ b/lib/system/jssys.nim @@ -646,10 +646,10 @@ proc tenToThePowerOf(b: int): BiggestFloat = result = 1.0 while true: if (b and 1) == 1: - result *= a + result = result * a b = b shr 1 if b == 0: break - a *= a + a = a * a const IdentChars = {'a'..'z', 'A'..'Z', '0'..'9', '_'} |