diff options
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) |