s/pic_expand/pic_macroexpand/g
This commit is contained in:
parent
a3c2dabcc7
commit
6f94202e13
|
@ -115,7 +115,7 @@ int pic_parse_cstr(pic_state *, const char *, pic_value *);
|
|||
pic_value pic_apply(pic_state *pic, struct pic_proc *, pic_value);
|
||||
pic_value pic_apply_argv(pic_state *pic, struct pic_proc *, size_t, ...);
|
||||
struct pic_proc *pic_codegen(pic_state *, pic_value);
|
||||
pic_value pic_expand(pic_state *, pic_value);
|
||||
pic_value pic_macroexpand(pic_state *, pic_value);
|
||||
|
||||
void pic_abort(pic_state *, const char *);
|
||||
void pic_raise(pic_state *, pic_value);
|
||||
|
|
|
@ -872,7 +872,7 @@ pic_codegen(pic_state *pic, pic_value obj)
|
|||
state->irep = new_irep(pic);
|
||||
state->irep->argc = 1;
|
||||
state->irep->localc = 0;
|
||||
codegen(state, pic_expand(pic, obj), false);
|
||||
codegen(state, pic_macroexpand(pic, obj), false);
|
||||
state->irep->code[state->irep->clen].insn = OP_RET;
|
||||
state->irep->clen++;
|
||||
state->irep->cv_num = 0;
|
||||
|
|
|
@ -162,7 +162,7 @@ expand(pic_state *pic, pic_value obj, struct syntactic_env *env)
|
|||
}
|
||||
|
||||
pic_value
|
||||
pic_expand(pic_state *pic, pic_value obj)
|
||||
pic_macroexpand(pic_state *pic, pic_value obj)
|
||||
{
|
||||
struct syntactic_env env;
|
||||
pic_value v;
|
||||
|
|
Loading…
Reference in New Issue