diff options
author | Aleksey Kladov <[email protected]> | 2018-08-28 17:35:09 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-28 17:35:09 +0100 |
commit | dea6ed73fac6f3f4daf38b1cb6df4c8fb68872b7 (patch) | |
tree | 7aff1c3b0fbb32f142fce778c7ac6b16fab65756 /crates/libsyntax2/src/grammar.ron | |
parent | 537ea620bb2a73a5e79872f414af23cf4bf03179 (diff) |
better pattern recovery
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 8055a4687..f8fa7b694 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -334,7 +334,7 @@ Grammar( | |||
334 | ), | 334 | ), |
335 | "ModuleItem": ( | 335 | "ModuleItem": ( |
336 | enum: ["StructDef", "EnumDef", "FnDef", "TraitDef", "ImplItem", | 336 | enum: ["StructDef", "EnumDef", "FnDef", "TraitDef", "ImplItem", |
337 | "UseItem", "ExternCrateItem" ] | 337 | "UseItem", "ExternCrateItem", "ConstDef", "StaticDef" ] |
338 | ), | 338 | ), |
339 | 339 | ||
340 | "TupleExpr": (), | 340 | "TupleExpr": (), |