return GW_OK;
}
-//! emit only one index at the time
-ANN static inline m_bool emit_index(const Emitter emit, const Exp e) {
- const Exp next = e->next;
- e->next = NULL;
- const m_bool ret = emit_exp(emit, e, 0);
- e->next = next;
- return ret;
-}
-
ANN static void array_loop(const Emitter emit, const m_uint depth) {
regpop(emit, depth * SZ_INT);
emit_add_instr(emit, GWOP_EXCEPT);
ANN m_bool scan2_exp_decl(const Env env, const Exp_Decl* decl) {
const m_bool global = GET_FLAG(decl->td, global);
const m_uint scope = !global ? env->scope->depth : env_push_global(env);
- const Type type = decl->type;
{
const Type t = get_type(decl->type);
if(GET_FLAG(t, template) && !GET_FLAG(t, scan2))