From 23172a116c3cc4ca9a692dfdd05051d1a4aee2b2 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 26 Jan 2019 00:24:12 +0300 Subject: rename POS_FIELD -> POS_FIELD_DEF to match NAMED_FIELD_DEF --- crates/ra_syntax/src/grammar.ron | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crates/ra_syntax/src/grammar.ron') diff --git a/crates/ra_syntax/src/grammar.ron b/crates/ra_syntax/src/grammar.ron index a92d9bbda..85fc79038 100644 --- a/crates/ra_syntax/src/grammar.ron +++ b/crates/ra_syntax/src/grammar.ron @@ -205,8 +205,8 @@ Grammar( "ENUM_VARIANT", "NAMED_FIELD_DEF_LIST", "NAMED_FIELD_DEF", - "POS_FIELD_LIST", - "POS_FIELD", + "POS_FIELD_DEF_LIST", + "POS_FIELD_DEF", "ENUM_VARIANT_LIST", "ITEM_LIST", "ATTR", @@ -269,8 +269,8 @@ Grammar( ), "NamedFieldDefList": (collections: [["fields", "NamedFieldDef"]]), "NamedFieldDef": ( traits: ["VisibilityOwner", "NameOwner", "AttrsOwner", "DocCommentsOwner"], options: ["TypeRef"] ), - "PosFieldList": (collections: [["fields", "PosField"]]), - "PosField": ( traits: ["VisibilityOwner", "AttrsOwner"], options: ["TypeRef"]), + "PosFieldDefList": (collections: [["fields", "PosFieldDef"]]), + "PosFieldDef": ( traits: ["VisibilityOwner", "AttrsOwner"], options: ["TypeRef"]), "EnumDef": ( traits: [ "VisibilityOwner", "NameOwner", -- cgit v1.2.3