programs like `yyextract' do, so it's worth fixing.
- * $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
*
*
* Parser for `become.conf' files
*
/*----- Revision history --------------------------------------------------*
*
* $Log: parser.y,v $
/*----- 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
* 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
yynerrs++; YYERROR;
#endif
}
yynerrs++; YYERROR;
#endif
}
/* --- Parsing allow specifications --- */
/* --- Parsing allow specifications --- */
user_class_opt command_class_opt ';' {
rule_add($2, $3, $5, $6);
}
user_class_opt command_class_opt ';' {
rule_add($2, $3, $5, $6);
}
host_class_opt : /* empty */ { $$ = class_all; }
| '[' host_class ']' { $$ = $2; }
host_class_opt : /* empty */ { $$ = class_all; }
| '[' host_class ']' { $$ = $2; }
/*----- Various class expression types ------------------------------------*
*
/*----- Various class expression types ------------------------------------*
*