summaryrefslogtreecommitdiff
path: root/usr.bin/yacc
AgeCommit message (Collapse)Author
2008-07-08Fix an venerable bug: if we're reducing a rule that has an emptyOtto Moerbeek
right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action. Detected by my new malloc, experienced by sturm@ on sparc64; ok deraadt@
2008-05-17documentation tweaks.Igor Sobrado
ok (some time ago) jmc@
2007-09-03move back to using malloc() instead of calloc(), because the yaccTheo de Raadt
skeleton really should only call malloc/realloc/free, no other external APIs at all. theefore, add a pre-check for the overflow case, thus protecting realloc too; tested mblamer, ok millert, help from kettenis
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-01-17realively -> relativelyRay Lai
``yep'' jmc@
2006-04-21back out last (powerpc on bgpd build shows it is wrong)Theo de Raadt
2006-04-20use new LINTED keyword for a global which is perhaps not used, but mustTheo de Raadt
be there; ok cloder
2006-04-20Fix off-by-one read caused by bad grammars. I think this defect wasChad Loder
present in the very first version of byacc from the early 90's and was only triggered recently when I used malloc.conf -> JG on a bad gramamr. OK millert@
2006-04-20yydebug has to always be there, even if it is not used. this pleasesTheo de Raadt
lint on every program that has a .y in it....; ok cloder though he does not understand yet
2005-06-10-Wall clean; ok otto deraadtPeter Valchev
2005-06-08add open_write_error() to bail on fopen(3) failing to open for write, gainsPeter Valchev
more descriptive error messages, eg: "cannot open target file y.tab.h for writing" as opposed to a generic error. based on Alexander von Gernler <grunk@pestilenz.org>, ok deraadt
2005-04-04convert to getopt(); ok millert@, otto@Robert Nagy
2004-10-08xref yacc psd. ok millert@Otto Moerbeek
2004-09-18Install the yacc(1) PSD. ok mickey@ jmc@Otto Moerbeek
2004-08-08spacingTheo de Raadt
2004-03-12fix memory leak in the code yacc generates, ok millert deraadtHenning Brauer
2004-02-01add paper.txt target;Jason McIntyre
also, this needs -ms macros, not -me; (though paper not installed yet)
2004-01-06protect output from %union from being anonymous using cpp guarding, forTheo de Raadt
the case where the yacc output .c file pulls in the yacc output -h file; espie ok
2003-11-25obvious fix for gcc3.Marc Espie
2003-08-12Back out last commit, p->name is not always a malloc'ed object.Todd C. Miller
Pointed out by itojun@.
2003-08-12plug memory leak; Patrick LatifiTodd C. Miller
2003-06-19ansify; ok miodPeter Valchev
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-16strcpy() removal; based on a patch from henning@ but simplifiedTodd C. Miller
2003-04-08string cleaning; ok teduTheo de Raadt
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-12-03caldera-licensed docs, now that they are free. need more work, thus not ↵Michael Shalayeff
installed yet
2002-12-03constify the not yet constified tables, use defined(__STDC__) instead of ↵Michael Shalayeff
ifdef __STC__ where appropriate; millert@ ok
2002-06-19have yacc spit out c compiler-like error messages, so that utilities whichTheo de Raadt
expect those can cope. I've wanted this for >12 years.
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-12-10bogus __deadTheo de Raadt
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-07fix signal raceTheo de Raadt
2001-07-16-Wall cleanup; ok deraadtPeter Valchev
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2001-06-03test code that is not used (and one file in there had a rusty license)Theo de Raadt
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-02-26Silence some warnings in generated grammers compiled with YYDEBUG;Thorsten Lockert
okay millert@
2001-01-19mark remaining signal races which are difficult to fix, and fix a few partiallyTheo de Raadt
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-07-06Insert more missing .El directives. Our troff really should identify these andAaron Campbell
spit out a warning.
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-01-27er, oops, types must be same for multiple assignmentTheo de Raadt
2000-01-26if yygrowstack() fails to allocate memory, free all yacc memory allocations ↵Theo de Raadt
and reset for future yyparse() calls... obscure eh