summaryrefslogtreecommitdiff
path: root/usr.bin/yacc
AgeCommit message (Expand)Author
2017-05-25fix a variety of warnings. from Brian CallahanTed Unangst
2016-09-21Fix bad indentation. One already existed in 1.20, one introduced in 1.21;Otto Moerbeek
2016-07-27it should not be necessary for yacc to use TMPDIR, /tmp is good enough.Ted Unangst
2016-03-22merge three obviously redundant adjacent if statementsmmcc
2015-12-31Declare yyparse() so the generated code is safe withPhilip Guenther
2015-12-30Back out of 1.36 and 1.37, which made simplifications to allocationmmcc
2015-12-30put back casts for realloc because c++ needs them. reported by naddyTed Unangst
2015-12-28realloc and free's behavior when passed NULL is defined by C89, so wemmcc
2015-12-11Remove NULL-checks before free().mmcc
2015-10-10fairly obvious pledges.Theo de Raadt
2015-09-09The .Nd macro is intended to provide "a one line description", so avoidIngo Schwarze
2014-12-05Rework the number handling to avoid an integer overflow/crashJonathan Gray
2014-12-02Remove dead stores found by llvm checker and mark functions thatTodd C. Miller
2014-12-02Fix lowzero running out of bounds in pack_vector(). Problem seen byOtto Moerbeek
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
2014-10-09use reallocarray(). Leave the malloc/realloc cases in the skeletonTheo de Raadt
2014-06-04TMPDIR is an extension;Jason McIntyre
2014-05-17remove unused variableCharles Longeau
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
2014-03-13collapse variable declarationsTed Unangst
2014-03-13last bits of indentation and styleTed Unangst
2014-03-13indentation styleTed Unangst
2014-03-13indent, add a touch of styleTed Unangst
2014-03-08reindentTed Unangst
2014-03-08reindentTed Unangst
2014-03-07a few other tweaks it's easier to see in the light of dayTed Unangst
2014-03-07drag this code into modern style. ok zhukTed Unangst
2014-02-21drop support for pre-standard C, it's time to move on. ok deraadtTed Unangst
2014-02-14clean up macro usage in the HISTORY section;Ingo Schwarze
2014-01-28bit more info for the toplas article;Jason McIntyre
2014-01-20Obvious .Xr fixes, found while testing mandocdb(8).Ingo Schwarze
2014-01-13Callers of get_state() and sole_reduction() always store the resultTodd C. Miller
2014-01-10Use strtoul() to do octal and hex character conversion instead ofTodd C. Miller
2014-01-10revert previous; height is never changed, but top is changed.Stuart Henderson
2014-01-09Remove useless variable "height" in function traverse(). It isTodd C. Miller
2014-01-08We still need to cast the resulting pointer in NEW and NEW2 as itTodd C. Miller
2014-01-08Add casts to unsigned char for ctype functions and other placesTodd C. Miller
2014-01-08Use calloc() instead of malloc() + memset. Based on a diff fromTodd C. Miller
2014-01-08Make allocate() take size_t and return void *. This lets us dropTodd C. Miller
2014-01-08Remove CALLOC, MALLOC, FREE and REALLOC macros and just call calloc(),Todd C. Miller
2013-10-30Make yystacksize unsigned to avoid a warning about sign comparisionTodd C. Miller
2013-08-15add the lalr paper;Jason McIntyre
2012-05-30Replace a loop with a memset, from Michael W Bombardieri. White hereNicholas Marriott
2012-04-15* Use NULL instead of 0 for pointersCharles Longeau
2012-04-10remove unused variable.Charles Longeau
2012-03-03Replace some loops with calloc/memset. From Michael W Bombardieri.Nicholas Marriott
2011-09-22Make use of the filename argument to open_error(), pointed out byNicholas Marriott
2011-04-03Trim some very long unused debugging functions, from Michael WNicholas Marriott
2011-04-01Add calls to some existing but previously unused free functions. AlsoNicholas Marriott
2010-10-18remove references to now removed usd/psd/smm docs;Jason McIntyre