Added MASTER and COMMA for option list
authorMichael Toy <toy@ucbvax.Berkeley.EDU>
Wed, 1 Apr 1981 07:35:12 +0000 (23:35 -0800)
committerMichael Toy <toy@ucbvax.Berkeley.EDU>
Wed, 1 Apr 1981 07:35:12 +0000 (23:35 -0800)
SCCS-vsn: usr.sbin/config/lang.l 1.6

usr/src/usr.sbin/config/lang.l

index 214edd6..91f56a4 100644 (file)
@@ -1,5 +1,5 @@
 %{
 %{
-/*     lang.l  1.5     81/03/06        */
+/*     lang.l  1.6     81/03/31        */
 
 #include <ctype.h>
 #include "y.tab.h"
 
 #include <ctype.h>
 #include "y.tab.h"
@@ -23,6 +23,7 @@ struct kt {
        "pseudo-device", PSEUDO_DEVICE, "flags", FLAGS, "trace", TRACE,
        "disk", DISK, "tape", DEVICE, "slave", SLAVE, "at", AT,
        "hz", HZ, "timezone", TIMEZONE, "dst", DST, "maxusers", MAXUSERS,
        "pseudo-device", PSEUDO_DEVICE, "flags", FLAGS, "trace", TRACE,
        "disk", DISK, "tape", DEVICE, "slave", SLAVE, "at", AT,
        "hz", HZ, "timezone", TIMEZONE, "dst", DST, "maxusers", MAXUSERS,
+       "master", MASTER,
        0,0,
 };
 %}
        0,0,
 };
 %}
@@ -77,6 +78,7 @@ WORD  [A-Za-z_][-A-Za-z_]*
 ^#.*           {       /* Ignored (comment) */;        }
 [ \t]*         {       /* Ignored (white space) */;    }
 ";"            {       return SEMICOLON;               }
 ^#.*           {       /* Ignored (comment) */;        }
 [ \t]*         {       /* Ignored (white space) */;    }
 ";"            {       return SEMICOLON;               }
+","            {       return COMMA;                   }
 %%
 /*
  * kw_lookup
 %%
 /*
  * kw_lookup