summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc/mkpar.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix a variety of warnings. from Brian Callahantedu2017-05-251-11/+11
|
* last bits of indentation and styletedu2014-03-131-255/+223
|
* Callers of get_state() and sole_reduction() always store the resultmillert2014-01-131-4/+5
| | | | | as a short so make the return value match the type of the value we are returning. From Michael W. Bombardieri
* Remove CALLOC, MALLOC, FREE and REALLOC macros and just call calloc(),millert2014-01-081-4/+4
| | | | | | nalloc(), free() and realloc() directly. The macros were casting to the wrong (pre-C89) types and there is no need for them in a C89 world. OK matthew@
* Replace some loops with calloc/memset. From Michael W Bombardieri.nicm2012-03-031-6/+3
| | | | ok millert
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* -Wall clean; ok otto deraadtpvalchev2005-06-101-2/+2
|
* spacingderaadt2004-08-081-3/+3
|
* ansify; ok miodpvalchev2003-06-191-23/+14
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* have yacc spit out c compiler-like error messages, so that utilities whichderaadt2002-06-191-7/+9
| | | | expect those can cope. I've wanted this for >12 years.
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-8/+8
|
* kill more registersmpech2001-11-191-30/+30
| | | | millert@ ok
* -Wall cleanup; ok deraadtpvalchev2001-07-161-2/+20
|
* o Use __prognamemillert1999-08-041-7/+8
| | | | | | | | o Use _PATH_TMP o Use mkstemp() instead of mktemp() o Really use 10 X's (one is eaten up by a letter) o Correct manpage wrt temp file name o Uncomment .Xr yyfix in man page since we ship it now
* sync to netbsd 960418deraadt1996-04-211-3/+44
|
* Fix 960317 NetBSD merge error. Merge caused local OpenBSD mod lossage.etheisen1996-03-311-1/+3
| | | | | | NetBSD's byacc %expect mods are buggy and don't handle syntax or semantic errors. Additionally, they do not mimic the BISON behavior they try to emulate. Our local OpenBSD %expect mods are much better.
* Yacc now understands %expect keyword. This should help prevent yacc frometheisen1996-02-041-13/+14
| | | | gagging on GNU bison grammer.
* initial import of NetBSD treederaadt1995-10-181-0/+360