From c9318e046c44fd3c161ff1253eb41c108e4733e3 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 2 Feb 2018 22:08:14 +0300 Subject: G: extern functions --- grammar.ron | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'grammar.ron') diff --git a/grammar.ron b/grammar.ron index 8585fd2d4..44826c779 100644 --- a/grammar.ron +++ b/grammar.ron @@ -78,17 +78,20 @@ Grammar( ], nodes: [ "FILE", + "STRUCT_ITEM", "ENUM_ITEM", - "ENUM_VARIANT", - "NAMED_FIELD", - "POS_FIELD", "FN_ITEM", "EXTERN_CRATE_ITEM", - "ATTR", - "META_ITEM", "MOD_ITEM", "USE_ITEM", + + "EXTERN_BLOCK", + "ENUM_VARIANT", + "NAMED_FIELD", + "POS_FIELD", + "ATTR", + "META_ITEM", // not an item actually "USE_TREE", "PATH", "PATH_SEGMENT", @@ -98,5 +101,6 @@ Grammar( "TYPE_PARAM_LIST", "LIFETIME_PARAM", "TYPE_PARAM", + "ABI", ] ) -- cgit v1.2.3