Skip to content

Commit

Permalink
Initialization of main module now happens in jsrInitRuntime
Browse files Browse the repository at this point in the history
  • Loading branch information
bamless committed May 19, 2024
1 parent 067a876 commit 6089938
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apps/jstar/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,10 @@ static void addReplPrint(JStarBuffer* sb) {
static JStarResult doRepl(void) {
PROFILE_BEGIN_SESSION("jstar-repl.json")


JStarResult res = JSR_SUCCESS;
{
PROFILE_FUNC()

// Init empty main module
jsrEvalModuleString(vm, "<repl>", JSR_MAIN_MODULE, "");
registerPrintFunction();

if(!opts.skipVersion) {
Expand Down

0 comments on commit 6089938

Please sign in to comment.