summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen <sthen@openbsd.org>2010-10-18 13:29:49 +0000
committersthen <sthen@openbsd.org>2010-10-18 13:29:49 +0000
commit8bc0bdca6bfbd16472d0e0a10c176b5ee9aae1f1 (patch)
tree23468b70c29f45d61c4f71e2d2e565bb34575556
parentMention that commands may be abbreviated, as done in other *ctl manuals. (diff)
downloadwireguard-openbsd-8bc0bdca6bfbd16472d0e0a10c176b5ee9aae1f1.tar.xz
wireguard-openbsd-8bc0bdca6bfbd16472d0e0a10c176b5ee9aae1f1.zip
Missing ; to appease yyextract, ok martinh@
-rw-r--r--usr.sbin/ldapd/parse.y14
-rw-r--r--usr.sbin/snmpd/parse.y3
2 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/ldapd/parse.y b/usr.sbin/ldapd/parse.y
index abc07460f8a..d4d67dd92de 100644
--- a/usr.sbin/ldapd/parse.y
+++ b/usr.sbin/ldapd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.9 2010/08/03 18:42:40 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.10 2010/10/18 13:29:49 sthen Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martinh@openbsd.org>
@@ -307,18 +307,18 @@ aci_type : DENY { $$ = ACI_DENY; }
| ALLOW { $$ = ACI_ALLOW; }
;
-aci_access : /* empty */ { $$ = ACI_ALL; };
- | ACCESS { $$ = ACI_ALL; };
- | aci_rights ACCESS { $$ = $1; };
+aci_access : /* empty */ { $$ = ACI_ALL; }
+ | ACCESS { $$ = ACI_ALL; }
+ | aci_rights ACCESS { $$ = $1; }
;
aci_rights : aci_right { $$ = $1; }
| aci_rights ',' aci_right { $$ = $1 | $3; }
;
-aci_right : READ { $$ = ACI_READ; };
- | WRITE { $$ = ACI_WRITE; };
- | BIND { $$ = ACI_BIND; };
+aci_right : READ { $$ = ACI_READ; }
+ | WRITE { $$ = ACI_WRITE; }
+ | BIND { $$ = ACI_BIND; }
;
diff --git a/usr.sbin/snmpd/parse.y b/usr.sbin/snmpd/parse.y
index 109fdfc70a4..6982519d778 100644
--- a/usr.sbin/snmpd/parse.y
+++ b/usr.sbin/snmpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.18 2010/08/03 18:42:41 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.19 2010/10/18 13:29:49 sthen Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -147,6 +147,7 @@ include : INCLUDE STRING {
file = nfile;
lungetc('\n');
}
+ ;
varset : STRING '=' STRING {
if (symset($1, $3, 0) == -1)