diff options
author | rillig <rillig@pkgsrc.org> | 2006-05-10 13:52:49 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-05-10 13:52:49 +0000 |
commit | 2b95023882d6cf75abcfa112c18f0a140cec224d (patch) | |
tree | 110e00d877c4e9d182e92b005104023c8c9154a1 | |
parent | 7e897f1eae8a1eed0b0c830cd72b34eb96762485 (diff) | |
download | pkgsrc-2b95023882d6cf75abcfa112c18f0a140cec224d.tar.gz |
ACL entries are separated by a comma and optional white-space, since that
looks nicer.
-rw-r--r-- | pkgtools/pkglint/files/doc/chap.types.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/doc/chap.types.xml b/pkgtools/pkglint/files/doc/chap.types.xml index cdfb3016ec6..5d1eca86415 100644 --- a/pkgtools/pkglint/files/doc/chap.types.xml +++ b/pkgtools/pkglint/files/doc/chap.types.xml @@ -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]* |