summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2006-05-10 13:52:49 +0000
committerrillig <rillig>2006-05-10 13:52:49 +0000
commit81b097f4d10a98314f2037445e5b7a6a4d268a4a (patch)
tree110e00d877c4e9d182e92b005104023c8c9154a1 /pkgtools
parent0419b32596f82894a2014b36fa04c15f17563c9d (diff)
downloadpkgsrc-81b097f4d10a98314f2037445e5b7a6a4d268a4a.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]*