AstBuilder: generate with mutability

This commit is contained in:
Akemi Izuko 2023-11-16 19:44:38 -07:00
parent d935533b6a
commit a6c0863deb
Signed by: akemi
GPG key ID: 8DE0764E1809E9FC

View file

@ -20,7 +20,9 @@ struct Args {
fn main() { fn main() {
let args = Args::parse(); let args = Args::parse();
let params = Params::parse(&args.config); let params = Params::parse(&args.config);
let builder = AstBuilder::from(params); let mut builder = AstBuilder::from(params);
builder.generate();
println!("{}", builder.to_string()); println!("{}", builder.to_string());
} }