diff --git a/Nodes.cpp b/Nodes.cpp index 1c5cbe1..abdfc09 100644 --- a/Nodes.cpp +++ b/Nodes.cpp @@ -18,7 +18,6 @@ */ #include "Nodes.hpp" -#include "RuntimePrototypes.hpp" #include using namespace monicelli; @@ -27,7 +26,7 @@ Function *monicelli::makeMain(PointerList *body) { PointerList *noargs = new PointerList(); FunctionPrototype *proto = new FunctionPrototype( - new Id(new std::string(ENTRYPOINT_NAME)), Type::VOID, noargs + new Id("main"), Type::VOID, noargs ); return new Function(proto, body); diff --git a/Runtime.c b/Runtime.c index 1211d4b..48155d7 100644 --- a/Runtime.c +++ b/Runtime.c @@ -89,7 +89,3 @@ void __Monicelli_assert(__Monicelli_Bool condition) { assert(condition); } -int main() { - __Monicelli_main(); -} -