minor spacing fix

This commit is contained in:
hyunghwan.chung 2019-05-23 01:14:44 +00:00
parent e8cadd9bc3
commit a4d362953b
2 changed files with 3 additions and 3 deletions

View File

@ -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. */

View File

@ -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;