GWI_BB(gwi_add_type(gwi, t_now))
struct SpecialId_ spid = { .type=t_now, .exec=RegPushNow, .is_const=1 };
gwi_specialid(gwi, "now", &spid);
- gwi_reserve(gwi, "now");
const Type t_complex = gwi_mk_type(gwi, "complex", SZ_COMPLEX , NULL);
gwi->gwion->type[et_complex] = t_complex;
CHECK_BB(gwi_gack(gwi, t_complex, gack_complex))
a->exec = spid->exec;
a->em = spid->em;
map_set(&gwi->gwion->data->id, (vtype)insert_symbol(gwi->gwion->st, id), (vtype)a);
+ gw_reserve(gwi, id);
}
GWI_BB(gwi_oper_end(gwi, "!", IntNot))
gwi_item_ini(gwi, "@null", "null");
gwi_item_end(gwi, 0, NULL);
- gwi_reserve(gwi, "this");
struct SpecialId_ spid = { .ck=check_this, .exec=RegPushMem, .is_const=1 };
gwi_specialid(gwi, "this", &spid);
return GW_OK;
GWI_BB(gwi_oper_ini(gwi, NULL, "int", "bool"))
GWI_BB(gwi_oper_add(gwi, opck_unary_meta)) // should return bool
GWI_BB(gwi_oper_end(gwi, "!", IntNot))
- gwi_reserve(gwi, "maybe");
struct SpecialId_ spid = { .type=t_bool, .exec=RegPushMaybe, .is_const=1 };
gwi_specialid(gwi, "maybe", &spid);
return GW_OK;
GWI_BB(gwi_func_end(gwi, 0))
GWI_BB(gwi_class_end(gwi))
- gwi_reserve(gwi, "me");
struct SpecialId_ spid = { .type=t_shred, .exec=RegPushMe, .is_const=1 };
gwi_specialid(gwi, "me", &spid);
// gwi_item_end(gwi, ae_flag_const, NULL);
// gwi_reserve(gwi, "__func__");
- gwi_reserve(gwi, "__func__");
struct SpecialId_ spid = { .ck=check_funcpp, .exec=RegPushMe, .is_const=1 };
gwi_specialid(gwi, "__func__", &spid);
return GW_OK;
register_freearg(gwi, VarargIni, freearg_vararg);
struct SpecialId_ spid = { .type=t_vararg, .exec=RegPushImm, .is_const=1 };
gwi_specialid(gwi, "vararg", &spid);
- gwi_reserve(gwi, "vararg");
return GW_OK;
}