pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files/doc ACL entries are separated b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a83ae9c045ce
branches:  trunk
changeset: 512472:a83ae9c045ce
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 10 13:52:49 2006 +0000

description:
ACL entries are separated by a comma and optional white-space, since that
looks nicer.

diffstat:

 pkgtools/pkglint/files/doc/chap.types.xml |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7f586cedbfae -r a83ae9c045ce pkgtools/pkglint/files/doc/chap.types.xml
--- a/pkgtools/pkglint/files/doc/chap.types.xml Wed May 10 13:27:43 2006 +0000
+++ b/pkgtools/pkglint/files/doc/chap.types.xml Wed May 10 13:52:49 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: chap.types.xml,v 1.4 2006/05/10 10:06:03 rillig Exp $ -->
+<!-- $NetBSD: chap.types.xml,v 1.5 2006/05/10 13:52:49 rillig Exp $ -->
 
 <chapter id="types">
 <title>The &pkglint; type system</title>
@@ -45,7 +45,7 @@
 <title>Syntax for defining types</title>
 
 <programlisting>
-    type             ::= list-type<subscript>opt</subscript> simple-type acls<subscript>opt</subscript>
+    type             ::= (list-type)? simple-type (acls)?
 
     list-type        ::= ("List" | "InternalList") "of"
 
@@ -55,7 +55,7 @@
     enumeration      ::= "{" (enumeration-item)* "}"
     enumeration-item ::= [-0-9A-Z_a-z]+
 
-    acls             ::= "[" (acl-entry)* "]"
+    acls             ::= "[" (acl-entry ("," acl-entry)*)? "]"
     acl-entry        ::= acl-subject ":" acl-perms
     acl-subject      ::= [.0-9A-Za-z]+ | "_"
     acl-perms        ::= [adprs]*



Home | Main Index | Thread Index | Old Index