Prepare for spliting generated into tokens and nodes

This commit is contained in:
Aleksey Kladov 2020-04-09 16:17:18 +02:00
parent 0fc8c5cca0
commit d61932ef7e
5 changed files with 9630 additions and 9627 deletions

View file

@ -22,7 +22,7 @@ pub fn generate_syntax(mode: Mode) -> Result<()> {
let syntax_kinds = generate_syntax_kinds(KINDS_SRC)?;
update(syntax_kinds_file.as_path(), &syntax_kinds, mode)?;
let ast_file = project_root().join(codegen::AST);
let ast_file = project_root().join(codegen::AST_NODES);
let ast = generate_ast(KINDS_SRC, AST_SRC)?;
update(ast_file.as_path(), &ast, mode)?;