diff options
author | Aleksey Kladov <[email protected]> | 2018-07-30 15:46:50 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-30 15:46:50 +0100 |
commit | 7fb7cfc2d1cd2781a20e4034b12384566d13c728 (patch) | |
tree | 86495030c1c1fdda29946165cdd750569dfe044f /tools/src/main.rs | |
parent | d4366940976a3d150a8b5bf92dc24f0162d4d62c (diff) |
generate single byte tokens
Diffstat (limited to 'tools/src/main.rs')
-rw-r--r-- | tools/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> { | |||
64 | let grammar = grammar()?; | 64 | let grammar = grammar()?; |
65 | let template = fs::read_to_string(SYNTAX_KINDS_TEMPLATE)?; | 65 | let template = fs::read_to_string(SYNTAX_KINDS_TEMPLATE)?; |
66 | let ret = tera::Tera::one_off(&template, &grammar, false) | 66 | let ret = tera::Tera::one_off(&template, &grammar, false) |
67 | .map_err(|e| format_err!("template error: {}", e))?; | 67 | .map_err(|e| format_err!("template error: {:?}", e))?; |
68 | Ok(ret) | 68 | Ok(ret) |
69 | } | 69 | } |
70 | 70 | ||