diff options
author | phk <phk@FreeBSD.org> | 1999-05-09 17:23:38 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-09 17:23:38 +0000 |
commit | a3eb84b2f90889aa591aabf7feeb509d26e2db27 (patch) | |
tree | d98f0930ea4fbd53fe37a0eb14ad8acfd6d86a6a /usr.sbin/config/lang.l | |
parent | 905ee53485c821ba902da18f869a5f4812763087 (diff) | |
download | FreeBSD-src-a3eb84b2f90889aa591aabf7feeb509d26e2db27.zip FreeBSD-src-a3eb84b2f90889aa591aabf7feeb509d26e2db27.tar.gz |
config(8) lobotomy, please see commit msg in sys.
(I have no idea why cvs didn't take these changes before.)
Diffstat (limited to 'usr.sbin/config/lang.l')
-rw-r--r-- | usr.sbin/config/lang.l | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l index 3e47f5e..f1061f6 100644 --- a/usr.sbin/config/lang.l +++ b/usr.sbin/config/lang.l @@ -52,13 +52,11 @@ struct kt { int kt_val; } key_words[] = { { "and", AND }, - { "args", ARGS }, { "at", AT }, { "bio", BIO }, /* XXX going away */ { "bus", BUS }, { "cam", CAM }, /* XXX going away */ { "conflicts", CONFLICTS }, - { "config", CONFIG }, { "controller", CONTROLLER }, { "cpu", CPU }, { "device", DEVICE }, @@ -66,7 +64,6 @@ struct kt { { "disk", DISK }, { "drive", DRIVE }, { "drq", DRQ }, - { "dumps", DUMPS }, { "flags", FLAGS }, { "ident", IDENT }, { "iomem", IOMEM }, @@ -80,16 +77,13 @@ struct kt { { "minor", MINOR }, { "net", NET }, /* XXX going away */ { "nexus", NEXUS }, - { "on", ON }, { "options", OPTIONS }, { "port", PORT }, { "priority", PRIORITY }, { "pseudo-device",PSEUDO_DEVICE }, - { "root", ROOT }, { "sequential", SEQUENTIAL }, { "size", SIZE }, { "slave", SLAVE }, - { "swap", SWAP }, { "tape", DEVICE }, { "target", TARGET }, { "tty", TTY }, /* XXX going away */ @@ -128,7 +122,7 @@ ID [A-Za-z_][-A-Za-z_0-9]* if ((i = kw_lookup(yytext)) == -1) REJECT; if (i == CONTROLLER || i == DEVICE || i == DISK || - i == PSEUDO_DEVICE || i == AT || i == ON) + i == PSEUDO_DEVICE || i == AT) BEGIN NONUM; tprintf("(%s) ", yytext); return i; |