diff --git a/legacy/embryo/examples/example.sma b/legacy/embryo/examples/example.sma index c42e2761bc..8c68eb7273 100644 --- a/legacy/embryo/examples/example.sma +++ b/legacy/embryo/examples/example.sma @@ -1,4 +1,3 @@ -#include #include "example.inc" /* To compile: diff --git a/legacy/embryo/examples/test.sma b/legacy/embryo/examples/test.sma index 44c4e049ce..677d538f49 100644 --- a/legacy/embryo/examples/test.sma +++ b/legacy/embryo/examples/test.sma @@ -1,4 +1,3 @@ -#include #include "test.inc" /* This is ugly - please ignore this code! */ diff --git a/legacy/embryo/include/Makefile.am b/legacy/embryo/include/Makefile.am index d4f318020b..fbdb368391 100644 --- a/legacy/embryo/include/Makefile.am +++ b/legacy/embryo/include/Makefile.am @@ -1,5 +1,5 @@ filesdir = $(datadir)/embryo/include files_DATA = \ -float.inc +default.inc EXTRA_DIST = $(files_DATA) diff --git a/legacy/embryo/include/float.inc b/legacy/embryo/include/default.inc similarity index 98% rename from legacy/embryo/include/float.inc rename to legacy/embryo/include/default.inc index d0af4022b4..8440f270d5 100644 --- a/legacy/embryo/include/float.inc +++ b/legacy/embryo/include/default.inc @@ -6,13 +6,14 @@ * operators for the floating point functions. * Modified March 2004 by Carsten Haitzler to conform * to E coding style + * Became default include for embryo... * * This file is provided as is (no warranties). */ -#if defined FLOAT_INC +#if defined DEFAULT_INC #endinput #endif -#define FLOAT_INC +#define DEFAULT_INC #pragma rational Float diff --git a/legacy/embryo/src/bin/embryo_cc_sc1.c b/legacy/embryo/src/bin/embryo_cc_sc1.c index a76b8d7fd9..b7746e57b4 100644 --- a/legacy/embryo/src/bin/embryo_cc_sc1.c +++ b/legacy/embryo/src/bin/embryo_cc_sc1.c @@ -458,8 +458,7 @@ cleanup: assemble(binf,outf); /* assembler file is now input */ } /* if */ if (outf!=NULL) -// sc_closeasm(outf,!(sc_asmfile || sc_listing)); - sc_closeasm(outf, 0); + sc_closeasm(outf,!(sc_asmfile || sc_listing)); if (binf!=NULL) sc_closebin(binf,errnum!=0);