diff options
author | Aleksey Kladov <[email protected]> | 2020-04-09 15:17:18 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-09 15:17:18 +0100 |
commit | d61932ef7e74f3d9f7863c33c6647c2c52538ed5 (patch) | |
tree | d8f52aafe87bbc34e09fe9c181369a5523097b2b /xtask/src/codegen | |
parent | 0fc8c5cca01501b3b6b708b0ba9ba94c0a81f69e (diff) |
Prepare for spliting generated into tokens and nodes
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/gen_syntax.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs index af7d4ffac..c2734d638 100644 --- a/xtask/src/codegen/gen_syntax.rs +++ b/xtask/src/codegen/gen_syntax.rs | |||
@@ -22,7 +22,7 @@ pub fn generate_syntax(mode: Mode) -> Result<()> { | |||
22 | let syntax_kinds = generate_syntax_kinds(KINDS_SRC)?; | 22 | let syntax_kinds = generate_syntax_kinds(KINDS_SRC)?; |
23 | update(syntax_kinds_file.as_path(), &syntax_kinds, mode)?; | 23 | update(syntax_kinds_file.as_path(), &syntax_kinds, mode)?; |
24 | 24 | ||
25 | let ast_file = project_root().join(codegen::AST); | 25 | let ast_file = project_root().join(codegen::AST_NODES); |
26 | let ast = generate_ast(KINDS_SRC, AST_SRC)?; | 26 | let ast = generate_ast(KINDS_SRC, AST_SRC)?; |
27 | update(ast_file.as_path(), &ast, mode)?; | 27 | update(ast_file.as_path(), &ast, mode)?; |
28 | 28 | ||