summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-10 13:52:49 +0000
committerrillig <rillig@pkgsrc.org>2006-05-10 13:52:49 +0000
commit1ecffb1d738422791def29c75eb907f45ab433a9 (patch)
tree110e00d877c4e9d182e92b005104023c8c9154a1 /pkgtools
parent2ae0e84f8a848e90f2b0a1e7f8e3e53e04544266 (diff)
downloadpkgsrc-1ecffb1d738422791def29c75eb907f45ab433a9.tar.gz
ACL entries are separated by a comma and optional white-space, since that
looks nicer.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/doc/chap.types.xml6
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]*