NetBSD/usr.bin/yacc
perry 9f1056ccbf 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
did.

These fixes should probably go back to the byacc maintainers.
1997-07-25 16:46:27 +00:00
..
test RCS ID police 1997-01-09 20:18:21 +00:00
ACKNOWLEDGEMENTS initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00
Makefile Major modernization. 1997-07-25 16:46:27 +00:00
NEW_FEATURES initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00
NOTES Major modernization. 1997-07-25 16:46:27 +00:00
README update to version 1.9 of Berkeley yacc, from vangogh 1993-05-28 12:30:03 +00:00
closure.c Major modernization. 1997-07-25 16:46:27 +00:00
defs.h Major modernization. 1997-07-25 16:46:27 +00:00
error.c Major modernization. 1997-07-25 16:46:27 +00:00
lalr.c Major modernization. 1997-07-25 16:46:27 +00:00
lr0.c Major modernization. 1997-07-25 16:46:27 +00:00
main.c Major modernization. 1997-07-25 16:46:27 +00:00
mkpar.c Major modernization. 1997-07-25 16:46:27 +00:00
output.c Major modernization. 1997-07-25 16:46:27 +00:00
reader.c Major modernization. 1997-07-25 16:46:27 +00:00
skeleton.c Major modernization. 1997-07-25 16:46:27 +00:00
symtab.c Major modernization. 1997-07-25 16:46:27 +00:00
verbose.c Major modernization. 1997-07-25 16:46:27 +00:00
warshall.c Major modernization. 1997-07-25 16:46:27 +00:00
yacc.1 add -o option -- submitted in pr-1857 by Niklas Hallqvist 1997-07-19 19:47:38 +00:00
yyfix.1 imported from 44lite2 1996-03-19 02:06:46 +00:00

README

    Berkeley Yacc is an LALR(1) parser generator.  Berkeley Yacc has been made
as compatible as possible with AT&T Yacc.  Berkeley Yacc can accept any input
specification that conforms to the AT&T Yacc documentation.  Specifications
that take advantage of undocumented features of AT&T Yacc will probably be
rejected.

    Berkeley Yacc is distributed with no warranty whatever.  The code is certain
to contain errors.  Neither the author nor any contributor takes responsibility
for any consequences of its use.

    Berkeley Yacc is in the public domain.  The data structures and algorithms
used in Berkeley Yacc are all either taken from documents available to the
general public or are inventions of the author.  Anyone may freely distribute
source or binary forms of Berkeley Yacc whether unchanged or modified.
Distributers may charge whatever fees they can obtain for Berkeley Yacc.
Programs generated by Berkeley Yacc may be distributed freely.

    Please report bugs to

			robert.corbett@eng.Sun.COM

Include a small example if possible.  Please include the banner string from
skeleton.c with the bug report.  Do not expect rapid responses.