diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-09-21 09:59:43 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2014-01-14 02:21:11 +0700 |
commit | c0229303f8fe4176d05286f3b887127c2b028368 (patch) | |
tree | 5aa09ee11658583c4ef1ea16cc92ecb40e9da495 /emcc | |
parent | 369b8330ed5e115be82b616414892aaf1e3c7b2c (diff) |
Add strtod(), wcstod(), wcstol() and friends.
This implementation of strtod() replaces the old as it implements
support for parsing hex constants which is needed by various tests.
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -1449,9 +1449,24 @@ try: os.path.join('libc', 'gen', 'verrx.c'), os.path.join('libc', 'gen', 'vwarn.c'), os.path.join('libc', 'gen', 'vwarnx.c'), - os.path.join('libc', 'stdlib', 'strtod.c'), ] musl_files = [ + ['internal', [ + 'floatscan.c', + 'shgetc.c', + ]], + ['math', [ + 'scalbnl.c', + ]], + ['stdio', [ + '__overflow.c', + '__toread.c', + '__uflow.c', + ]], + ['stdlib', [ + 'atof.c', + 'strtod.c', + ]] ] for directory, sources in musl_files: libc_files += [os.path.join('libc', 'musl', 'src', directory, source) for source in sources] @@ -1492,6 +1507,9 @@ try: 'wctrans.c', 'wcwidth.c', ]], + ['internal', [ + 'intscan.c', + ]], ['locale', [ 'iconv.c', 'iswalnum_l.c', @@ -1556,6 +1574,8 @@ try: 'ecvt.c', 'fcvt.c', 'gcvt.c', + 'wcstod.c', + 'wcstol.c', ]], ['string', [ 'memccpy.c', |