summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
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
1999-09-12Add :O var modifier, that sorts the words in a variable.christos
1999-06-06Revert previous change. I am a bonehead.christos
1999-06-06remove accidentally left debugging codechristos
1999-06-06Allow junk variable to work in non dynamic contexts. Allows as to say thingschristos
1999-04-03Make regex support conditional on NO_REGEX (was MAKE_BOOTSTRAP)gwr
1998-11-06- full prototypeschristos
1998-11-01Reduced memory leaks.itohy
1998-10-13Include sys/types.hwsanchez
1998-09-18Fix conditional variable expression parsing (reported by cgd)christos
1998-04-03in Var_Parse(), set delim in a couple of other paths into cleanupcgd
1998-04-01Add conditional variable evaluation from Alistair Crooks.christos
1998-03-26PR/5210: Hauke Fath: make core dumps with .SHELLchristos
1997-09-28wrap #include <sys/cdefs.h>, __RCSID(...) stuff in #ifndef MAKE_BOOTSTRAPlukem
1997-09-22Expand variables within variables correctly; eg.christos
1997-07-10Fix memory corruption that was caused by debugging code leftovers.christos
1997-07-07PR/3825: David A. Holland: global regexp handling gets stuck in infinite loop.christos
1997-07-01Add WARNS=1christos
1997-03-18Fix problems in the RE substitution error handling.christos
1996-12-31Don't compile the regex code if MAKE_BOOTSTRAP (from gwr)christos