From 4c307d531503b4a5dc3082a1f73a74411be718b9 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Fri, 3 Aug 2018 15:13:10 -0700 Subject: [PATCH] Stabilize 'attr_literals' feature. --- src/attributes.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/attributes.md b/src/attributes.md index fca8d95cf..00f2527ef 100644 --- a/src/attributes.md +++ b/src/attributes.md @@ -13,12 +13,12 @@ > _MetaItem_ :\ >       IDENTIFIER\ >    | IDENTIFIER `=` LITERAL\ ->    | IDENTIFIER `(` LITERAL `)`\ >    | IDENTIFIER `(` _MetaSeq_ `)` > > _MetaSeq_ :\ >       EMPTY\ >    | _MetaItem_\ +>    | LITERAL\ >    | _MetaItem_ `,` _MetaSeq_ An _attribute_ is a general, free-form metadatum that is interpreted according @@ -30,9 +30,8 @@ Attributes may appear as any of: * A single identifier, the _attribute name_ * An identifier followed by the equals sign '=' and a literal, providing a key/value pair -* An identifier followed by a parenthesized literal, providing a - key/value pair * An identifier followed by a parenthesized list of sub-attribute arguments + which include literals _Inner attributes_, written with a bang ("!") after the hash ("#"), apply to the item that the attribute is declared within. _Outer attributes_, written without