From: mdw Date: Tue, 4 May 1999 16:32:07 +0000 (+0000) Subject: File renamed to `parse.h', q.v. X-Git-Tag: 1.3.3~6 X-Git-Url: https://git.distorted.org.uk/~mdw/become/commitdiff_plain/8b2ec2f09635e07a0286e62581bda92a59045064?hp=eacaf60c2846a36bf73a9ce8df90b9eed2782158 File renamed to `parse.h', q.v. --- diff --git a/src/parser.h b/src/parser.h deleted file mode 100644 index 908b051..0000000 --- a/src/parser.h +++ /dev/null @@ -1,89 +0,0 @@ -/* -*-c-*- - * - * $Id: parser.h,v 1.4 1998/04/23 13:26:11 mdw Exp $ - * - * Parser for `become.conf' files - * - * (c) 1998 EBI - */ - -/*----- Licensing notice --------------------------------------------------* - * - * This file is part of `become' - * - * `Become' is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * `Become' is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with `become'; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -/*----- Revision history --------------------------------------------------* - * - * $Log: parser.h,v $ - * Revision 1.4 1998/04/23 13:26:11 mdw - * New `parse' interface to configuration file parser; informs caller - * whether parsing encountered any errors. - * - * Revision 1.3 1998/01/12 16:46:21 mdw - * Fix copyright date. - * - * Revision 1.2 1997/08/04 10:24:24 mdw - * Sources placed under CVS control. - * - * Revision 1.1 1997/07/21 13:47:46 mdw - * Initial revision - * - */ - -#ifndef PARSER_H -#define PARSER_H - -#ifdef __cplusplus - extern "C" { -#endif - -/*----- Required headers --------------------------------------------------*/ - -#ifndef CLASS_H -# include "class.h" -#endif - -#ifndef NAME_H -# include "name.h" -#endif - -#include "parser.tab.h" /* Token definitions and things */ - -/*----- Global variables --------------------------------------------------*/ - -extern int yydebug; /* Debugging flag for parser */ - -/*----- Functions provided ------------------------------------------------*/ - -/* --- @parse@ --- * - * - * Arguments: --- - * - * Returns: Zero if it worked, nonzero if it didn't. - * - * Use: Parses configuration files. - */ - -extern int parse(void); - -/*----- That's all, folks -------------------------------------------------*/ - -#ifdef __cplusplus - } -#endif - -#endif