Various fixes.

This commit is contained in:
C. Guy Yarvin 2014-09-24 22:44:14 -07:00
parent d366bae8c6
commit cb385a2586
2 changed files with 13 additions and 7 deletions

6
g/v.c
View File

@ -187,6 +187,12 @@ _cv_nock_poke(u3_noun ovo)
c3_c* tox_c = u3_cr_string(tox);
printf("poke: %%%s on %s\r\n", ovi_c, tox_c);
if ( c3__belt == u3h(u3t(ovo)) ) {
u3_cm_p("belt", u3t(u3t(ovo)));
}
if ( c3__blew == u3h(u3t(ovo)) ) {
u3_cm_p("blew", u3t(u3t(ovo)));
}
free(tox_c); free(ovi_c); u3z(tox);
}

View File

@ -68,13 +68,13 @@ static u3_cs_core _mood__hoon__po_d[] =
{}
};
static u3_cs_harm _mood__hoon__by_gas_a[] = {{".2", u3_cwdb_gas}, {}};
static u3_cs_harm _mood__hoon__by_get_a[] = {{".2", u3_cwdb_get}, {}};
static u3_cs_harm _mood__hoon__by_has_a[] = {{".2", u3_cwdb_has}, {}};
static u3_cs_harm _mood__hoon__by_int_a[] = {{".2", u3_cwdb_int}, {}};
static u3_cs_harm _mood__hoon__by_put_a[] = {{".2", u3_cwdb_put}, {}};
static u3_cs_harm _mood__hoon__by_tap_a[] = {{".2", u3_cwdb_tap}, {}};
static u3_cs_harm _mood__hoon__by_uni_a[] = {{".2", u3_cwdb_uni}, {}};
static u3_cs_harm _mood__hoon__by_gas_a[] = {{".2", u3_cwdb_gas, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_get_a[] = {{".2", u3_cwdb_get, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_has_a[] = {{".2", u3_cwdb_has, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_int_a[] = {{".2", u3_cwdb_int, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_put_a[] = {{".2", u3_cwdb_put, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_tap_a[] = {{".2", u3_cwdb_tap, u3_yes}, {}};
static u3_cs_harm _mood__hoon__by_uni_a[] = {{".2", u3_cwdb_uni, u3_yes}, {}};
static u3_cs_core _mood__hoon__by_d[] =
{ { "gas", _mood__hoon__by_gas_a },
{ "get", _mood__hoon__by_get_a },