aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-10 09:35:39 +0100
committerAleksey Kladov <[email protected]>2020-04-10 15:10:28 +0100
commit779f06ed77e868b9409a1724f736a045415d4922 (patch)
tree07bc6a57f62adce315ca5779329b66990c4f9a16 /xtask/src/codegen
parent548f562ddad3bca515b304f82e110aeb319591e3 (diff)
Convert more tokens
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/gen_syntax.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs
index a903d1da7..4c9e447a3 100644
--- a/xtask/src/codegen/gen_syntax.rs
+++ b/xtask/src/codegen/gen_syntax.rs
@@ -535,6 +535,8 @@ impl Field<'_> {
535 "')'" => "r_paren", 535 "')'" => "r_paren",
536 "'['" => "l_brack", 536 "'['" => "l_brack",
537 "']'" => "r_brack", 537 "']'" => "r_brack",
538 "=" => "eq",
539 "!" => "excl",
538 _ => name, 540 _ => name,
539 }; 541 };
540 format_ident!("{}_token", name) 542 format_ident!("{}_token", name)