mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Prepare for spliting generated into tokens and nodes
This commit is contained in:
parent
0fc8c5cca0
commit
d61932ef7e
5 changed files with 9630 additions and 9627 deletions
|
@ -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)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue