From 7fb7cfc2d1cd2781a20e4034b12384566d13c728 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 30 Jul 2018 17:46:50 +0300 Subject: generate single byte tokens --- tools/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/src/main.rs') diff --git a/tools/src/main.rs b/tools/src/main.rs index 6786b81ca..3290d1dce 100644 --- a/tools/src/main.rs +++ b/tools/src/main.rs @@ -64,7 +64,7 @@ fn get_kinds() -> Result { let grammar = grammar()?; let template = fs::read_to_string(SYNTAX_KINDS_TEMPLATE)?; let ret = tera::Tera::one_off(&template, &grammar, false) - .map_err(|e| format_err!("template error: {}", e))?; + .map_err(|e| format_err!("template error: {:?}", e))?; Ok(ret) } -- cgit v1.2.3