/* -*-c-*-
*
- * $Id: testrig.c,v 1.9 2000/06/17 10:35:07 mdw Exp $
+ * $Id: testrig.c,v 1.10 2004/04/08 01:36:13 mdw Exp $
*
* Generic test driver
*
* (c) 1998 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
* This file is part of the mLib utilities library.
*
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
- *
+ *
* mLib 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 Library General Public License for more details.
- *
+ *
* You should have received a copy of the GNU Library General Public
* License along with mLib; if not, write to the Free
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: testrig.c,v $
- * Revision 1.9 2000/06/17 10:35:07 mdw
- * Initialize the token buffer properly.
- *
- * Revision 1.8 1999/12/10 23:41:37 mdw
- * Support for different sizes and types of integers.
- *
- * Revision 1.7 1999/11/21 13:01:39 mdw
- * Allow more characters to start words in test vector files.
- *
- * Revision 1.6 1999/11/16 15:03:23 mdw
- * Mark test types as constant.
- *
- * Revision 1.5 1999/05/21 22:14:30 mdw
- * Take advantage of the new dynamic string macros.
- *
- * Revision 1.4 1999/05/19 19:02:17 mdw
- * Aesthetic changes: fix spelling of `initialize'; use uppercase token
- * constants; abandon old double-underscore convention for internal
- * functions and variables.
- *
- * Revision 1.3 1999/05/06 19:51:35 mdw
- * Reformatted the LGPL notice a little bit.
- *
- * Revision 1.2 1999/05/05 18:50:31 mdw
- * Change licensing conditions to LGPL.
- *
- * Revision 1.1.1.1 1998/06/17 23:44:42 mdw
- * Initial version of mLib
- *
- */
-
/*----- Header files ------------------------------------------------------*/
#include <ctype.h>
goto again;
/* --- End of file --- */
-
+
case EOF:
return (TOK_EOF);
t = gettok(fp);
if (t != ';')
die(1, "expected `;'; found `%s'", decode(t));
- }
+ }
}
exit(fail);