Insert some missing semicolons. Bison didn't seem to care, but other
authormdw <mdw>
Fri, 26 Mar 1999 15:25:22 +0000 (15:25 +0000)
committermdw <mdw>
Fri, 26 Mar 1999 15:25:22 +0000 (15:25 +0000)
programs like `yyextract' do, so it's worth fixing.

src/parser.y

index d731389..495dc4a 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: parser.y,v 1.6 1998/04/23 13:26:49 mdw Exp $
+ * $Id: parser.y,v 1.7 1999/03/26 15:25:22 mdw Exp $
  *
  * Parser for `become.conf' files
  *
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: parser.y,v $
+ * Revision 1.7  1999/03/26 15:25:22  mdw
+ * Insert some missing semicolons.  Bison didn't seem to care, but other
+ * programs like `yyextract' do, so it's worth fixing.
+ *
  * Revision 1.6  1998/04/23 13:26:49  mdw
  * New `parse' interface to configuration file parser; informs caller
  * whether parsing encountered any errors.  Also support no-network
@@ -242,6 +246,7 @@ key_spec    : KEYFILE STRING ';' {
                          yynerrs++; YYERROR;
 #endif
                        }
+               ;
 
 /* --- Parsing allow specifications --- */
 
@@ -249,6 +254,7 @@ allow_spec  : ALLOW host_class_opt user_class ARROW
                   user_class_opt command_class_opt ';' {
                          rule_add($2, $3, $5, $6);
                        }
+               ;
 
 host_class_opt : /* empty */ { $$ = class_all; }
                | '[' host_class ']' { $$ = $2; }
@@ -271,6 +277,7 @@ name                : WORD  {
                            n->c = 0;
                          $$ = n;
                        }
+               ;
 
 /*----- Various class expression types ------------------------------------*
  *