summaryrefslogtreecommitdiff
path: root/usr.bin/make/var.c
AgeCommit message (Expand)Author
2019-02-03- add or adjust /* FALLTHROUGH */ where appropriatemrg
2018-12-21unexport-env: avoid SEGFAULT if MAKELEVEL not in envsjg
2018-05-27- Introduce :q modifier for make variables and make it double escape $'s sochristos
2018-05-24Since ${MAKE} converts $$ -> $ during parsing we need to put it back tochristos
2018-02-18Var_Set: avoid SIGSEGV if val is NULLsjg
2017-12-08Ensure VAR+=val on command line is handled correctlysjg
2017-11-18Do not append to variable set on command linesjg
2017-04-16Plug memory leak.riastradh
2017-04-16Use, don't kludge, MAKE_ATTR_UNUSED.riastradh
2017-02-01Since we are avoiding VAR_INTERNAL, allow the variable :_ stores tosjg
2017-02-01Just have :_ use current ctxt, avoid need to force VAR_INTERNAL.sjg
2017-01-31Use VAR_INTERNAL when calling ApplyModifiers for VAR_{CMD,GLOBAL} only.sjg
2017-01-30Add :range and :_sjg
2017-01-14Allow providing a utc value to :{gm,local}timesjg
2016-06-03Add cached_realpath()sjg
2016-03-11$% is $(.MEMBER) and not $(.ARCHIVE), $! is $(.ARCHIVE) and not $(.MEMBER)matthias
2016-03-07For :ts numeric escapes \x* is hex, anything else is octal.sjg
2016-02-20Add a knob .MAKE.SAVE_DOLLARS to control the behavior of $$ during :=sjg
2016-02-18Delete :@ loop iterator when done with itsjg
2016-02-18Add .export-literal to avoid the need for $$ dance when trying to putsjg
2016-02-18Collapse the 3 boolean parameter to 1 flags parameter. No functional change.christos
2016-01-09Preserve $$ in := assignments..christos
2015-12-01Avoid calling brk_string() and hence Var_Export1() onsjg
2015-10-20Ensure emsg initializedsjg
2015-10-12The conditional expressions used with ':?' can be expensivesjg
2015-10-11Add Boolean wantit to Var_Parse and Var_Substsjg
2015-10-06don't check for NULL before free() (Tilman Sauerbeck)christos
2015-06-19use isspace()christos
2015-06-19Adjust metachar handling to previous behaviour:mlelstv
2015-06-17Centralize the "is a meta char" test, instead of using two different arrays.christos
2015-05-05When evaluating condtionals from .if we want to requiresjg
2014-09-14Fix handling of the silly $(@D) $(@F) etc. vars so modifiers on themdholland
2014-09-13Recognize the crazy POSIXisms $(?D) and $(?F); issue 2 in PR 49085dholland
2014-09-13typo in comment, from the first reverted patchdholland
2014-09-07Revert all make changes except the unit tests to the state of threejoerg
2014-08-23PR/49085: Jarmo Jaakkola: fix several parsing errorschristos
2014-06-20Return varNoError rather than var_Error for ::?= etc.sjg
2014-05-19Var_Parse: endc only counts when at the correct nesting depth.sjg
2013-09-04Add VAR_INTERNAL as a context for variables set by make itself,sjg
2013-07-16When a var is set in the CMD context, it prevents the same namesjg
2013-07-16More gmake compatibility:christos
2013-07-15Make this work again like gmake. sjg: see the test program.christos
2013-07-06If using gmake's MAKELEVEL; use it the same waysjg
2013-06-18Use a #define for the variable name we put in environment to pass .MAKE.LEVELsjg
2013-06-10put back previous changechristos
2013-06-10Revert last, it doesn't even build.joerg
2013-06-101. Don't export .MAKE.LEVEL, because this is an illegal variable name forchristos
2013-05-29Clean up some left overssjg
2013-05-18Var_Delete: expand name if needed.sjg
2013-02-24While it is nice to have the same function do both the upper case andchristos