summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
2004-01-08Fix :?: modifier so that it works again.sjg
2003-12-26Support variable expansions inside of SYSV style = substitutions. Better matchesjmc
2003-12-26Don't assume startc is always {, set delim to endc when separating the args tojmc
2003-10-23Fixes from PR#23210 to eliminate use of asprintf which makes cross buildingjmc
2003-09-27Implement :[] modifier to allow picking a range of words out of a variable.sjg
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-31Const poisoning.scw
2003-07-29A couple of other places where delim should be setsjg
2003-07-29First bug picked up by the unit tests - delim wasn't always initialized.sjg
2003-07-28Fix parsing bug for :ts - patch from Alan Barrett <apb@cequrux.com>sjg
2003-07-23Fix merge problem with ts modifier and const correctness.sjg
2003-07-14Add a :ts[c] modifier to allow controlling the separator used betweensjg
2003-07-14Pass WARNS=3christos
2003-05-22PR/19781: Thomas Klausner: make error message not helpful on unclosed ${var:foochristos
2003-03-14Add a -X option, which prevents make(1) from putting variablesthorpej
2002-06-15Remove !__STDC__ stuff, de-__P(), ANSIfy, and de-register.wiz
2002-03-21don't print extra newlines on errors.christos
2002-02-06Add `tu' and `tl' variable expansion modifiers, which transform thepk
2002-01-27Fix major bug in make(1) ... due to shadowing of the dotLast path used forreinoud
2001-12-25- partially fix ${foo:?true:false} so that at least it now parses ok andlukem
2001-06-12Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it notsjg
2001-06-10Simplify the exporting of VAR_CMD's via MAKEFLAGS.sjg
2001-06-09Do a better job of duplicate suppression in .MAKEOVERRIDES.sjg
2001-06-09Modify handling of command line variable assignments and their exportingsjg
2001-06-05Perform variable expansion on sysv rhs patterns. That is, expand ${O} in: $...explorer
2001-06-01A number of semi-related changes.sjg
2001-05-12Modifier :P avoid segfault if gn is found but path is NULL.sjg
2001-03-10redo of previous: do not destroy v->val if str points to v->val.itojun
2001-03-09correct case with VAR_KEEP. if clause checked VAR_KEEP backwards,itojun
2000-09-05fixed comment U -> uchristos
2000-09-05:u modifier a'la uniq(1) [from der Mouse]christos
2000-08-13don't attempt to free varNoError too.christos
2000-06-10no need for v->name-- on JUNK vars anymoresjg
2000-06-10For VAR_JUNK variables, defer freeing of the name string until the bottom ofmycroft
2000-06-10Don't free v until after the last use.sjg
2000-06-06Do some evil with VAR_KEEP to make it happier. This seems... wrong.mycroft
2000-06-06Allow further patterns after a :D or :U, as in ODE make. (Copied some codemycroft
2000-06-06Roll back my for-expansion changes. Doing this right is just too hard to bemycroft
2000-06-01Make ::= work again with the VAR_FOR context changes.sjg
2000-06-01Create a `for' context, and substitute iteration variable from it using themycroft
2000-06-01Rats! ${FOO:=bar} is a common usage of the SysV = modifier.sjg
2000-05-30Implemented a set of assignment modifiers. These solve obscuresjg
2000-05-14Expand variables that appear in a [No]Match pattern. Allowssjg
2000-05-11Expand variables in variable name passed to Var_Set and Var_Append.sjg
2000-05-11Pass ctxt along to VarLoopExpand so that local variables such as .TARGETsjg
2000-04-29Added the :U :D :L :P :! and :@ modifiers as used by ODE make.sjg
2000-04-17Don't type && when you mean || (pointed out by David Holland)christos
2000-04-16PR/9898: David Holland: small glitch in var substitution for single letterchristos
1999-09-15Reuse the Hash_Entry `name' field to store the variable name when wesommerfeld
1999-09-15Replace the linear variable list in the GNode with a hash table. Gives amycroft