aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4368695dca1e..b8ae325707aa 100644
--- a/usr.sbin/config/lang.l
+++ b/usr.sbin/config/lang.l
@@ -78,6 +78,7 @@ struct kt {
{ "minor", MINOR },
{ "net", NET }, /* XXX going away */
{ "nexus", NEXUS },
+ { "option", OPTIONS },
{ "options", OPTIONS },
{ "port", PORT },
{ "priority", PRIORITY },
@@ -149,7 +150,7 @@ ID [A-Za-z_][-A-Za-z_0-9]*
tprintf("id(%s) ", yytext+1);
return ID;
}
-<TOEOL>[^#\n]* {
+<TOEOL>[^# \t\n]* {
BEGIN 0;
yylval.str = strdup(yytext);
tprintf("id(%s) ", yytext);