doexpand
doexpand(&es, p, buf, len);
doexpand(&mainstate, p, buf, len);
static void doexpand(struct expstate *es, struct place *p,
doexpand(es, p, newbuf2, strlen(newbuf2));