toktostr
static const char *toktostr(tok_kind);
s_print(expectbuf, "expected '%s'", toktostr(exp1));
s_print(expectbuf, "expected '%s' or '%s'", toktostr(exp1),
toktostr(exp2));
s_print(expectbuf, "expected '%s', '%s' or '%s'", toktostr(exp1),
toktostr(exp2), toktostr(exp3));