From a4d362953bca6a87afbfe93b784903badb72bcfd Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 23 May 2019 01:14:44 +0000 Subject: [PATCH] minor spacing fix --- moo/lib/comp.c | 2 +- moo/lib/exec.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/moo/lib/comp.c b/moo/lib/comp.c index 943b736..1ba10fb 100644 --- a/moo/lib/comp.c +++ b/moo/lib/comp.c @@ -3236,7 +3236,7 @@ static int clone_assignee (moo_t* moo, const moo_oocs_t* name, moo_oow_t* offset moo_oow_t old_len; old_len = cc->mth.assignees.len; - n = copy_string_to (moo, name, &cc->mth.assignees, &cc->mth.assignees_capa, 1, '\0'); + n = copy_string_to(moo, name, &cc->mth.assignees, &cc->mth.assignees_capa, 1, '\0'); if (n <= -1) return -1; /* update the pointer to of the name. its length is the same. */ diff --git a/moo/lib/exec.c b/moo/lib/exec.c index 461ece0..a3ed6e2 100644 --- a/moo/lib/exec.c +++ b/moo/lib/exec.c @@ -5909,10 +5909,10 @@ int moo_invoke (moo_t* moo, const moo_oocs_t* objname, const moo_oocs_t* mthname MOO_ASSERT (moo, moo->active_context == MOO_NULL); MOO_ASSERT (moo, moo->active_method == MOO_NULL); - if (start_initial_process_and_context (moo, objname, mthname) <= -1) return -1; + if (start_initial_process_and_context(moo, objname, mthname) <= -1) return -1; moo->initial_context = moo->processor->active->initial_context; - n = moo_execute (moo); + n = moo_execute(moo); /* TODO: reset processor fields. set processor->tally to zero. processor->active to nil_process... */ moo->initial_context = MOO_NULL;