Commit Graph

10 Commits

Author SHA1 Message Date
christos 91869b8cb5 remove duplicate prototypes. 2001-02-04 17:45:24 +00:00
jdolecek 0e4f8029c1 Make the generated parse tables const, so that the data are pushed
to text segment. The difference is quite significant - for example,
the tables are about 20K for gawk, 40K for nawk, couple of KB for /bin/sh.
2001-01-23 22:31:40 +00:00
is 135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
explorer e32bc6b6c4 Use
const char *yyname[] = {...};
	const char *yyrule[] = {...};
rather than
	char *yyname[] = {...};
	char *yyrule[] = {...};

to prevent warnings about
	initialization discards `const' from pointer target type
when the output of yacc is compiled with a picky warning level.
2000-06-07 23:54:17 +00:00
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
mikel 0ad5b3127c make -p affect all variables; PR bin/2997 1997-01-15 07:24:25 +00:00
jtc 62bdd99390 Sync with 4.4lite2 1996-03-19 03:21:27 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
cgd 837392081c update to version 1.9 of Berkeley yacc, from vangogh 1993-05-28 12:30:03 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00