if(c == '\n' && s->prefix) state_puts(s->prefix, s);
if(c == '\n') state_set_prefix(s);
void state_prefix_putc(char c, STATE *s){  state_putc(c, s);  if(c == '\n' && s->prefix)    state_puts(s->prefix, s);}