summaryrefslogtreecommitdiff
path: root/usr.bin/make/parse.c
AgeCommit message (Expand)Author
2009-11-19Add .unexport - the exact opposite of .exportsjg
2009-11-06Report lines that ought to contain a ':' operator but start with a '.'dsl
2009-10-07The parser used to break dependency lines at ';' without regardsjg
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
2009-01-16Parse_Error() really doesn't need to cruft up a dummy structure for curFile.dsl
2009-01-11Instead of stashing the body of every iteration of a .for loop, passdsl
2009-01-08Fix PR bin/1443 properly!dsl
2009-01-04Count () and {} when looking to the '=' that terminates the variable beingdsl
2008-12-13Use NULL instead of -1 cast to the relavant type (usually via NIL).dsl
2008-11-29Split For_Eval() into two functions.dsl
2008-11-12intFile.fd should be initialised to -1, not 0.apb
2008-11-12avoid using c99 struct named initializers because this is a host tool andchristos
2008-10-29If Parse_Error is called after curFile is invalid, set it to a dummysjg
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-06-03PR/38840: Pierre Pronchery: make crashes while parsing long lines in Makefileschristos
2008-02-15back all changes out until I fix it properly.christos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2008-01-03When we extend the buffer used to read makefiles (in order to read linesdsl
2007-10-22Allow .PATH<suffix> to be used for .include "".sjg
2007-10-13strlen returns size_tchristos
2007-10-13When processing .include "../../foo.mk" lexically process the leading ../dsl
2007-10-12If we are going to save the names of all opened makefiles, do so when filesdsl
2007-10-12static a const string.christos
2007-10-08Use .MAKE.MAKEFILES to track all the makefiles that have been readsjg
2007-10-05Add the ability to .export variables to the environment.sjg
2007-10-01Add the ability to tweak the token output before targets in job mode.sjg
2007-05-23Delete some comments that refer to long-extinct code.dsl
2007-02-24Don't increment 'cp' twice when looking for commands following ';' on adsl
2007-02-04Add code to ensure that .if/.endif are correctly nested with .for/.endfordsl
2007-01-24Check of open conditionals before we trash 'curFile' - so we can actuallydsl
2007-01-18Don't delete '\' from before '#' in shell command lines.dsl
2007-01-15Avoid coredumping. Found by accidentally running make instead of gmakechristos
2007-01-02Don't delete whitespace before a "\\\n" sequence. Somewhere I'd misreaddsl
2007-01-01Rework the code that separates the makefile into lines.dsl
2006-12-18From Anon Ymous:christos
2006-12-16Use open/read/close instead of stdio for makefiles.dsl
2006-12-07Revert part of a recent commit.dsl
2006-12-07Put the big block of code that was common to ParseDoInclude() anddsl
2006-12-04There really is no point calling estrdup() to get a copy of the makefile namedsl
2006-12-03Unknot this code slightly by avoiding 'break/return; else' and by puttingdsl
2006-11-17A rather large rototil in the way the parallel make code schedules jobs.dsl
2006-10-27Since 'ClientData' is 'void *', nuke almost all the (ClientData) casts.dsl
2006-10-15Add some more explanitory comments.dsl
2006-10-15Change a 'while' loop to a 'for' loop so we can add 'free(line)' into thedsl
2006-10-15Output all debug trace output through 'debug_file' defaulting to 'stdout'.dsl
2006-08-26More programs using efun.christos
2006-03-31Add some coverity allocation comments, and change the way the allocatorchristos
2006-03-31There is no need to count jobs and job tokens.dsl
2006-03-31Coverity CID 544: Fix memory leak.christos
2006-03-28- Change where variable substitution is done when processing traditionalginsbach