summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/lang.l
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config/lang.l')
-rw-r--r--usr.sbin/config/lang.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l
index bef36f1..6884bd1 100644
--- a/usr.sbin/config/lang.l
+++ b/usr.sbin/config/lang.l
@@ -73,6 +73,7 @@ struct kt {
{ "machine", ARCH }, /* MACHINE is defined in /sys/param.h */
{ "makeoptions", MAKEOPTIONS },
{ "maxusers", MAXUSERS },
+ { "nodevice", NODEVICE },
{ "profile", PROFILE },
{ "option", OPTIONS },
{ "options", OPTIONS },
@@ -109,7 +110,7 @@ ID [A-Za-z_][-A-Za-z_0-9]*
if ((i = kw_lookup(yytext)) == -1)
REJECT;
- if (i == DEVICE)
+ if (i == DEVICE || i == NODEVICE)
BEGIN NONUM;
return i;
}
OpenPOWER on IntegriCloud