use b_plain use cz/vars split_use() vec *out cz_new_parse_vos(out) for_vec(i, includes, cstr) cstr l = *i char *end = l+strlen(l) cstr command = l cstr word = Strchr(l, ' ')+1 char *e = strchr(word, ' ') if !e vec_push(out, l) else word[-1] = '\0' repeat if e *e = '\0' if !strlen(word) error("bad use statement: %s", nul_to_space(l, end)) vec_push(out, fformat("%s %s", command, word)) if !e break word = e + 1 while *word == ' ' ++word e = strchr(word, ' ') vec_squeeze(out) vec_free(includes) includes = out