commit | 91b798ddf802bb9d7e812d84df308a324f555652 | [log] [tgz] |
---|---|---|
author | Jacek Caban <jacek@codeweavers.com> | Sun Sep 21 19:47:31 2008 +0200 |
committer | Alexandre Julliard <julliard@winehq.org> | Mon Sep 22 11:53:22 2008 +0200 |
tree | 699a8be33465b47d1e8082b63fe764b4fd1c519e | |
parent | bf84d3bc2debc8fbf5c240f250263436cc1c74cb [diff] [blame] |
jscript: Added string to number conversion implementation.
diff --git a/dlls/jscript/lex.c b/dlls/jscript/lex.c index ed73202..ba80154 100644 --- a/dlls/jscript/lex.c +++ b/dlls/jscript/lex.c
@@ -387,7 +387,7 @@ e = e*10 + *ctx->ptr++ - '0'; e *= sign; - d = pow(d, e); + d *= pow(10, e); } *literal = parser_alloc(ctx, sizeof(literal_t));