Fixing for new autotools.
[become] / src / parser.y
index cd9c1ce..f7ed0e3 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: parser.y,v 1.8 2003/10/12 00:14:55 mdw Exp $
+ * $Id$
  *
  * Parser for `become.conf' files
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: parser.y,v $
- * Revision 1.8  2003/10/12 00:14:55  mdw
- * Major overhaul.  Now uses DSA signatures rather than the bogus symmetric
- * encrypt-and-hope thing.  Integrated with mLib and Catacomb.
- *
- * 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
- * configuration.
- *
- * Revision 1.5  1998/01/12 16:46:22  mdw
- * Fix copyright date.
- *
- * Revision 1.4  1997/09/17  10:26:52  mdw
- * Use rewritten class handler.  Makes the expression parsers considerably
- * simpler.
- *
- * Revision 1.3  1997/09/09 18:17:06  mdw
- * Allow default port to be given as a service name or port number.
- *
- * Revision 1.2  1997/08/04 10:24:24  mdw
- * Sources placed under CVS control.
- *
- * Revision 1.1  1997/07/21  13:47:45  mdw
- * Initial revision
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 %{
 
@@ -96,6 +62,9 @@
 #include "rule.h"
 #include "userdb.h"
 
+#define YYDEBUG 1
+#define YYERROR_VERBOSE
+
 %}
 /*----- Stack type --------------------------------------------------------*/
 
 /*----- Error reporting ---------------------------------------------------*/
 %{
 
-#define YYDEBUG 1
-#define YYERROR_VERBOSE
-
 /* --- @yyprint@ --- *
  *
  * Arguments:  @FILE *fp@ = pointer to stream to write on