home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume25
/
wacco
/
patch03
/
patch-1.3-1.4
Wrap
Text File
|
1991-11-11
|
5KB
|
177 lines
*** tmp/README Tue Jul 23 17:49:50 1991
--- README Tue Oct 22 10:38:43 1991
***************
*** 1,4
! $Header: README,v 1.11 91/07/23 18:49:49 hmgr Exp $
Copyright (c) 1991 by Parag Patel. All Rights Reserved.
You can do what you wish with this as long as
--- 1,4 -----
! $Header: README,v 1.13 91/10/22 11:38:42 hmgr Exp $
Copyright (c) 1991 by Parag Patel. All Rights Reserved.
You can do what you wish with this as long as
***************
*** 77,79
some typos fixed in wacco.doc example but NOT in wacco.doc.{iw,ps}
1.3 fixed bug in gen.C which wouldn't dump user code bigger than 1024 bytes
--- 77,84 -----
some typos fixed in wacco.doc example but NOT in wacco.doc.{iw,ps}
1.3 fixed bug in gen.C which wouldn't dump user code bigger than 1024 bytes
+
+ 1.4 forgot some diffs in 1.3 - this version fixes all the missing bits
+ extern for yylex() in io.C is removed
+ a few typos are fixed
+ minor fix in defs.h for strfree() so it works with C++ 3.0
*** tmp/defs.h Fri May 17 15:29:54 1991
--- defs.h Fri Sep 27 15:13:39 1991
***************
*** 1,5
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! // $Header: defs.h,v 1.15 91/05/17 16:29:55 hmgr Exp $
#include <stdio.h>
#include <stdlib.h>
--- 1,5 -----
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! // $Header: defs.h,v 1.16 91/09/13 15:30:32 hmgr Exp $
#include <stdio.h>
#include <stdlib.h>
***************
*** 18,24
#if FREE_TAKES_CHAR
inline void strfree(const char *s) { if (s != NULL) free((char *)s); }
#else
! inline void strfree(const char *s) { if (s != NULL) free((const void *)s); }
#endif
// for large switch statements
--- 18,24 -----
#if FREE_TAKES_CHAR
inline void strfree(const char *s) { if (s != NULL) free((char *)s); }
#else
! inline void strfree(const char *s) { if (s != NULL) free((void *)s); }
#endif
// for large switch statements
*** tmp/io.C Fri Feb 22 15:08:32 1991
--- io.C Mon Aug 26 16:59:03 1991
***************
*** 1,5
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static const char rcs_id[] = "$Header: io.C,v 1.13 91/02/22 16:08:20 hmgr Exp $";
#include "defs.h"
#include "toks.h"
--- 1,5 -----
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static const char rcs_id[] = "$Header: io.C,v 1.14 91/08/26 17:59:01 hmgr Exp $";
#include "defs.h"
#include "toks.h"
***************
*** 30,36
extern char yytext[];
- extern int yylex();
static char filename[100];
static FILE *fp = stdin;
--- 30,35 -----
extern char yytext[];
static char filename[100];
static FILE *fp = stdin;
*** tmp/main.C Fri Feb 22 15:06:41 1991
--- main.C Wed Jul 31 15:27:58 1991
***************
*** 1,5
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static const char rcs_id[] = "$Header: main.C,v 1.22 91/02/22 16:05:39 hmgr Exp $";
#include "version.C"
--- 1,5 -----
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static const char rcs_id[] = "$Header: main.C,v 1.23 91/07/31 16:27:57 hmgr Exp $";
#include "version.C"
***************
*** 370,376
check();
if (w_numerrors > 0)
! quit("Not generating any w_output files");
if (statonly)
{
--- 370,376 -----
check();
if (w_numerrors > 0)
! quit("Not generating any output files");
if (statonly)
{
*** tmp/version.C Tue Jul 23 17:49:52 1991
--- version.C Tue Oct 22 10:34:28 1991
***************
*** 1,3
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static char *const whatid = "@(#)wacco 1.3 (23 July 1991)";
--- 1,3 -----
// Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! static char *const whatid = "@(#)wacco 1.4 (22 October 1991)";
*** tmp/wacco.doc Mon May 20 19:28:08 1991
--- wacco.doc Wed Aug 14 09:45:33 1991
***************
*** 1,5
Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! << $Header: wacco.doc,v 1.27 91/05/20 20:28:05 hmgr Exp $ >>
<< Please see the wacco(1) man page for details on its usage. >>
<< Only the grammar format is described here. >>
--- 1,5 -----
Copyright (c) 1991 by Parag Patel. All Rights Reserved.
! << $Header: wacco.doc,v 1.28 91/08/14 10:45:30 hmgr Exp $ >>
<< Please see the wacco(1) man page for details on its usage. >>
<< Only the grammar format is described here. >>
***************
*** 190,196
may be used wherever {} blocks are allowed.
! The empty rule may not be implicitly specified is in yacc, but must
be defined with the special "[]" symbol:
null: [] ;
--- 190,196 -----
may be used wherever {} blocks are allowed.
! The empty rule may not be implicitly specified as in yacc, but must
be defined with the special "[]" symbol:
null: [] ;