Commits

Amaury Forgeot d'Arc committed 898ed07

Remove ll_strtod.c from the RPython core C files.
The ExternalCompilationInfo object should be enough to add it to the Makefile.

Comments (0)

Files changed (3)

pypy/translator/c/genc.py

         srcdir / 'thread.c',
         srcdir / 'asm.c',
         srcdir / 'instrument.c',
-        srcdir / 'll_strtod.c',        # ifdef HAVE_RTYPER
         srcdir / 'int.c',
     ]
     if _CYGWIN:

pypy/translator/c/src/g_include.h

 #ifdef HAVE_RTYPER      /* only if we have an RTyper */
 #  include "src/rtyper.h"
 #  include "src/debug_traceback.h"
-#  include "src/ll_strtod.h"
 #endif
 
 #ifdef PYPY_STANDALONE

pypy/translator/c/test/test_standalone.py

     def test_separate_files(self):
         # One file in translator/c/src
         fname = py.path.local(pypydir).join(
-            'translator', 'c', 'src', 'll_strtod.h')
+            'translator', 'c', 'src', 'll_strtod.c')
 
         # One file in (another) subdir of the temp directory
         dirname = udir.join("test_dir").ensure(dir=1)
 
         # but files from pypy source dir must be copied
         assert "translator/c/src" not in makefile
-        assert "  ll_strtod.h" in makefile
+        assert "  ll_strtod.c" in makefile
         assert "  ll_strtod.o" in makefile
 
     def test_debug_print_start_stop(self):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.