diff options
Diffstat (limited to 'crates/tools/src/main.rs')
-rw-r--r-- | crates/tools/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index 179c1163f..aa6d964e6 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs | |||
@@ -45,8 +45,8 @@ fn main() -> Result<()> { | |||
45 | fn run_gen_command(name: &str, verify: bool) -> Result<()> { | 45 | fn run_gen_command(name: &str, verify: bool) -> Result<()> { |
46 | match name { | 46 | match name { |
47 | "gen-kinds" => { | 47 | "gen-kinds" => { |
48 | update(Path::new(SYNTAX_KINDS), &render_template(SYNTAX_KINDS_TEMPLATE, GRAMMAR)?, verify)?; | 48 | update(Path::new(SYNTAX_KINDS), &render_template(SYNTAX_KINDS_TEMPLATE)?, verify)?; |
49 | update(Path::new(AST), &render_template(AST_TEMPLATE, GRAMMAR)?, verify)?; | 49 | update(Path::new(AST), &render_template(AST_TEMPLATE)?, verify)?; |
50 | }, | 50 | }, |
51 | "gen-tests" => { | 51 | "gen-tests" => { |
52 | gen_tests(verify)? | 52 | gen_tests(verify)? |