X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/dadc1afb3dc0f28230673f457e69806ce02ba978..0e14170319c7297aa120bff764df472456606016:/testrig.c diff --git a/testrig.c b/testrig.c index 220e3f3..5ac5414 100644 --- a/testrig.c +++ b/testrig.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: testrig.c,v 1.8 1999/12/10 23:41:37 mdw Exp $ + * $Id: testrig.c,v 1.9 2000/06/17 10:35:07 mdw Exp $ * * Generic test driver * @@ -30,6 +30,9 @@ /*----- 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. * @@ -73,7 +76,7 @@ /*----- Static variables --------------------------------------------------*/ -static dstr tok; +static dstr tok = DSTR_INIT; enum { TOK_EOF = 0x100,