struct GwfmtState ls = {.minimize=true, .ppa = gwion->ppa};
gwfmt_state_init(&ls);
text_init(&ls.text, gwion->mp);
- Gwfmt gwfmter = {.mp = gwion->mp, .st = gwion->st, .ls = &ls, .line = 1, .last = cht_nl };
+ Gwfmt gwfmter = {.mp = gwion->mp, .st = gwion->st, .ls = &ls, .line = 1, .last = cht_nl};
gwfmt_func_def(&gwfmter, f->def);
gwlog_related_from(ls.text.str, f->value_ref->from);
text_release(&ls.text);
map_init(&a->map);
for (m_uint i = 0; i < N_PASS; ++i)
pass_register(gwion, default_passes_name[i], default_passes[i]);
+ pass_register(gwion, "scan0", scan0_ast);
+ pass_register(gwion, "scan1", scan1_ast);
+ pass_register(gwion, "scan2", scan2_ast);
vector_init(&a->vec);
return a;
}