Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 07/25/1997 16:50:02
Fri Jul 25 09:46:41 PDT 1997
Update of /a/cvsroot/src/usr.bin/yacc
In directory netbsd1:/var/slash-tmp/cvs-serv23414

Modified Files:
	Makefile NOTES closure.c defs.h error.c lalr.c lr0.c main.c 
	mkpar.c output.c reader.c skeleton.c symtab.c verbose.c 
Log Message:
Major modernization.
1) register variables have been killed, except for the ones in the
   generated skeleton (which should probably also be killed soon).
2) __P(())ified prototypes for all functions.
3) new style __RCSID's, and #include <sys/cdefs.h>'s.
4) all warnings generated with WARNS=1 (i.e. all warnings you get from
   gcc with -Wall -Wstrict-prototypes -Wmissing-prototypes) have been
   fixed, although not always in the best possible way.

in particular on #4, in a couple of places I got "control reaches end
of non-void function" errors, and sadly __dead doesn't seem to really
work, so I inserted a couple of exit() calls in strategic
places. These should be nuked if someone can get __dead to Do The
Right Thing.

There were also a couple of places where "while (foo = bar)" things
cropped up and I didn't do the best conceivable thing, but I usually

These fixes should probably go back to the byacc maintainers.