diff options
author | Aleksey Kladov <[email protected]> | 2020-08-21 18:12:38 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-21 18:14:05 +0100 |
commit | 863b1fb731e797f02daeac87a94d40a34222a062 (patch) | |
tree | 7a3ae3553ad1c97ad4ac70d8b7126ee0ec5343ad /xtask/src/codegen | |
parent | df54561a689a9eb7b1962b69a397a1221200c116 (diff) |
:arrow_up: ungrammar
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/gen_syntax.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/codegen/gen_syntax.rs b/xtask/src/codegen/gen_syntax.rs index 53ae9f11c..200e8aa50 100644 --- a/xtask/src/codegen/gen_syntax.rs +++ b/xtask/src/codegen/gen_syntax.rs | |||
@@ -477,6 +477,7 @@ impl Field { | |||
477 | "#" => "pound", | 477 | "#" => "pound", |
478 | "?" => "question_mark", | 478 | "?" => "question_mark", |
479 | "," => "comma", | 479 | "," => "comma", |
480 | "|" => "pipe", | ||
480 | _ => name, | 481 | _ => name, |
481 | }; | 482 | }; |
482 | format_ident!("{}_token", name) | 483 | format_ident!("{}_token", name) |