summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc/lr0.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* collapse variable declarationstedu2014-03-131-33/+13
|
* last bits of indentation and styletedu2014-03-131-344/+304
|
* Callers of get_state() and sole_reduction() always store the resultmillert2014-01-131-3/+3
| | | | | as a short so make the return value match the type of the value we are returning. From Michael W. Bombardieri
* Use calloc() instead of malloc() + memset. Based on a diff frommillert2014-01-081-4/+2
| | | | Michael W. Bombardieri. OK deraadt@
* Make allocate() take size_t and return void *. This lets us dropmillert2014-01-081-6/+4
| | | | | some more useless casts. Also add missing arguments to a couple of prototypes while here. OK matthew@ pelikan@
* Remove CALLOC, MALLOC, FREE and REALLOC macros and just call calloc(),millert2014-01-081-13/+13
| | | | | | 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-3/+2
| | | | ok millert
* Trim some very long unused debugging functions, from Michael Wnicm2011-04-031-85/+1
| | | | | | Bombardieri. ok millert
* Add calls to some existing but previously unused free functions. Alsonicm2011-04-011-5/+2
| | | | | | replace a loop with a memset. From Michael W Bombardieri. 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
* ansify; ok miodpvalchev2003-06-191-25/+23
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* 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-23/+23
|
* kill more registersmpech2001-11-191-50/+50
| | | | millert@ ok
* -Wall cleanup; ok deraadtpvalchev2001-07-161-17/+43
|
* rcsidderaadt1996-06-261-1/+2
|
* sync to netbsd 960418deraadt1996-04-211-1/+43
|
* initial import of NetBSD treederaadt1995-10-181-0/+601