summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfd/parse.y
diff options
context:
space:
mode:
authorsimon <simon@openbsd.org>2008-02-22 10:56:50 +0000
committersimon <simon@openbsd.org>2008-02-22 10:56:50 +0000
commitbc5f24a9a5b65bb68f4ba3b21dc0b66fbc7e23e2 (patch)
treeec1ec4300d290a62790a43d4e9503345bb0e6355 /usr.sbin/ospfd/parse.y
parentregen (diff)
downloadwireguard-openbsd-bc5f24a9a5b65bb68f4ba3b21dc0b66fbc7e23e2.tar.xz
wireguard-openbsd-bc5f24a9a5b65bb68f4ba3b21dc0b66fbc7e23e2.zip
remove comma from type list, add missing semicolon for consistency
OK claudio@
Diffstat (limited to 'usr.sbin/ospfd/parse.y')
-rw-r--r--usr.sbin/ospfd/parse.y5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y
index 8d0f0f42ff9..bc2a9b463b9 100644
--- a/usr.sbin/ospfd/parse.y
+++ b/usr.sbin/ospfd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.59 2007/11/12 23:59:41 mpf Exp $ */
+/* $OpenBSD: parse.y,v 1.60 2008/02/22 10:56:50 simon Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -126,7 +126,7 @@ typedef struct {
%token ERROR
%token <v.string> STRING
%token <v.number> NUMBER
-%type <v.number> yesno no optlist, optlist_l option demotecount
+%type <v.number> yesno no optlist optlist_l option demotecount
%type <v.string> string
%%
@@ -158,6 +158,7 @@ yesno : YES { $$ = 1; }
no : /* empty */ { $$ = 0; }
| NO { $$ = 1; }
+ ;
varset : STRING '=' string {
if (conf->opts & OSPFD_OPT_VERBOSE)