diff options
author | Aleksey Kladov <[email protected]> | 2020-04-10 09:29:59 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-04-10 15:10:28 +0100 |
commit | 548f562ddad3bca515b304f82e110aeb319591e3 (patch) | |
tree | 71da0dc60264eee24fa809539f9d218b3c4c4a17 /xtask/src/codegen | |
parent | 460c8bbdec8561a581d035f9767b7dd1ba36cfd7 (diff) |
Other delimiters
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/gen_syntax.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs index b7698ee6e..a903d1da7 100644 --- a/xtask/src/codegen/gen_syntax.rs +++ b/xtask/src/codegen/gen_syntax.rs | |||
@@ -531,6 +531,10 @@ impl Field<'_> { | |||
531 | "->" => "thin_arrow", | 531 | "->" => "thin_arrow", |
532 | "'{'" => "l_curly", | 532 | "'{'" => "l_curly", |
533 | "'}'" => "r_curly", | 533 | "'}'" => "r_curly", |
534 | "'('" => "l_paren", | ||
535 | "')'" => "r_paren", | ||
536 | "'['" => "l_brack", | ||
537 | "']'" => "r_brack", | ||
534 | _ => name, | 538 | _ => name, |
535 | }; | 539 | }; |
536 | format_ident!("{}_token", name) | 540 | format_ident!("{}_token", name) |