summaryrefslogtreecommitdiff
path: root/usr.sbin/config/scan.l
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-23 06:03:00 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-23 06:03:00 +0000
commitd0a5fa42f1b6ebc23d23f9c1ba8eafa468923561 (patch)
tree263e53231c7486b99b42d7dcf3a7615869a75fb2 /usr.sbin/config/scan.l
parent0d359a25c5e8b08e0beec6bc5d040d7bb39b8f3b (diff)
Allow entries like "foo at bar enable", which override previous
entries like "foo bar bar disable"; useful for kernel config lamers like myself who don't like to use 'config -e' or 'bsd -c' to manually enable USB. Tested with uhci/ohci on i386.
Diffstat (limited to 'usr.sbin/config/scan.l')
-rw-r--r--usr.sbin/config/scan.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/config/scan.l b/usr.sbin/config/scan.l
index e0065b45c01..739e8022cb0 100644
--- a/usr.sbin/config/scan.l
+++ b/usr.sbin/config/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.13 2000/01/04 14:23:43 angelos Exp $ */
+/* $OpenBSD: scan.l,v 1.14 2001/01/23 06:02:59 angelos Exp $ */
/* $NetBSD: scan.l,v 1.13 1997/02/02 21:12:37 thorpej Exp $ */
/*
@@ -93,6 +93,7 @@ define return DEFINE;
defopt return DEFOPT;
device return DEVICE;
disable return DISABLE;
+enable return ENABLE;
dumps return DUMPS;
file return XFILE;
flags return FLAGS;