diff options
author | Aleksey Kladov <[email protected]> | 2018-08-16 11:11:20 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-16 11:11:20 +0100 |
commit | a5515d9d6f215da4351b482d839aab5212fa0e6f (patch) | |
tree | a0557e07f57fad65ad32b80010cce08b5559f9e5 /crates/libsyntax2/src/grammar.ron | |
parent | 7094291573dc819e3115950ec3b2316bd5e9ea33 (diff) |
Add derive handles cursor
Diffstat (limited to 'crates/libsyntax2/src/grammar.ron')
-rw-r--r-- | crates/libsyntax2/src/grammar.ron | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar.ron b/crates/libsyntax2/src/grammar.ron index 4e523da9a..abeffb2c3 100644 --- a/crates/libsyntax2/src/grammar.ron +++ b/crates/libsyntax2/src/grammar.ron | |||
@@ -272,6 +272,9 @@ Grammar( | |||
272 | "DynTraitType", | 272 | "DynTraitType", |
273 | ]), | 273 | ]), |
274 | 274 | ||
275 | "NominalDef": ( enum: ["StructDef", "EnumDef"]), | 275 | "NominalDef": ( |
276 | enum: ["StructDef", "EnumDef"], | ||
277 | traits: [ "AttrsOwner" ], | ||
278 | ), | ||
276 | }, | 279 | }, |
277 | ) | 280 | ) |