break;
tmp[i] = '\0';
const m_uint num = strtol(tmp, NULL, 10);// migth use &endptr and check errno
- const Exp exp = new_exp_prim_int(gwi->gwion->mp, num, loc(gwi));
+ const Exp exp = new_prim_int(gwi->gwion->mp, num, loc(gwi));
array_add_exp(ck, exp);
} else {
if(ck->is_exp > 0)
ANN2(1) m_int gwi_enum_ini(const Gwi gwi, const m_str type) {
CHECK_BB(ck_ini(gwi, ck_edef))
if(type)
- CHECK_OB((gwi->ck->sym = str2sym(gwi, type)))
+// CHECK_OB((gwi->ck->sym = str2sym(gwi, type)))
+ CHECK_OB((gwi->ck->xid = str2sym(gwi, type)))
vector_init(&gwi->ck->v);
return GW_OK;
}