summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
Commit message (Expand)AuthorAgeFilesLines
* The caller of Var_Value() should not change the variable value. Makeharti2005-05-241-4/+5
* Get rid of the third argument to Var_Value() the pointer it pointedharti2005-05-241-14/+7
* Get rid of global variables for argument vectors produced by brk_string()harti2005-05-181-24/+22
* Replace a lot of Var_Set(..., VAR_GLOBAL) by Var_SetGlobal().harti2005-05-121-0/+11
* Move variable printing from main.c to var.charti2005-05-121-0/+34
* Move some global variables to the correct files.harti2005-05-121-3/+6
* Move the remaining two prototypes from nonints.h to make.h andharti2005-05-101-1/+0
* Move Cmd_Exec() from main.c to job.c and fix its prototype. Thisharti2005-05-101-0/+1
* Var_SubstOnly() is only used to subsitute a variable from the globalharti2005-05-101-1/+2
* Clean up comments. No code changes.harti2005-05-101-194/+128
* Merge var_modify.c into var.c and move types and function declarationsharti2005-05-101-56/+601
* Move some debugging code from targ.c to var.c where it actually belongs.harti2005-05-101-4/+12
* Make make a little bit more POSIXish with regard to option parsing:harti2005-05-101-8/+45
* Split Var_Subst() into two functions: Var_SubstOnly() which substitutesharti2005-05-091-140/+152
* Introduce a new pseudo-target .EXPORTVAR which allows to put aharti2005-05-061-65/+81
* Split VarFind() into a series of functions tailored for the different setsharti2005-04-131-70/+94
* Fix a bug introduced in a previous commit: ParseModifier() consumesharti2005-03-301-15/+30
* Remove the last two instances of Lst_Find() calls.harti2005-03-221-32/+31
* Use VarParse() inside var.c instead of Var_Parse().harti2005-03-221-20/+33
* Unify callers to Var_Parse() with regard to variable names.harti2005-03-221-27/+26
* Make some callers of VarFind using the same code structure.harti2005-03-221-28/+33
* De-lispify some if()-expressions by removing extra parantheses.harti2005-03-221-14/+14
* Return a Buf object from VarGetPattern() instead of a char * and a size_t.harti2005-03-221-20/+12
* Use the struct VarPattern's lhs field instead of using an extra variableharti2005-03-221-6/+5
* Merge struct VarREPattern into struct VarPattern. This will help sortingharti2005-03-221-5/+5
* Delete an extra empty line.harti2005-03-221-1/+1
* Simplify buffer access by using Buf_Data() and Buf_Peel() whereharti2005-03-221-33/+14
* Remove a temporary variable. Rename pattern to patt to be consistent.harti2005-03-221-216/+92
* Remove unneeded temporary variables in modifier_S() and modifier_C().harti2005-03-211-69/+63
* Remove comment about Var_Parse assuming that the first characterharti2005-03-211-58/+28
* Split out SysV variable substitution into its own function.harti2005-03-211-228/+151
* Rename freePtr to freeResult to make it more obvious about whatharti2005-03-211-30/+30
* Move some code from ParseModifier() into the calling function toharti2005-03-211-62/+46
* Cleanup the VAR_JUNK handling.harti2005-03-211-44/+42
* Don't pass 'consumed' through all the parsing routines where it can be computedharti2005-03-211-131/+102
* Change one occurence of 'delim' to the correct type. Delete anotherharti2005-03-211-37/+29
* Reduce number of parameters passed between the parsing routinesharti2005-03-211-71/+58
* Reduce the number of explicit parameters passed to VarParse()harti2005-03-211-11/+18
* Cleanup handling of colons in variable substitutions.harti2005-03-181-50/+41
* Unfold parsing of single letter modifiers from multi-letter ones.harti2005-03-181-196/+258
* Style: fix indentation and <space><tab>.harti2005-03-181-584/+596
* Split out the 'S' modifier into its own function.harti2005-03-181-80/+83
* Convert Var_Parse to a wrapper function.harti2005-03-181-60/+82
* modifier_M: instead of going through the string twice to compute theharti2005-03-151-21/+10
* Style: Move a variable from a local scope up to the begin of the function.harti2005-03-151-41/+38
* VarParseLong: move the detection of the modifier separator ':' intoharti2005-03-151-19/+23
* ParseModifier(): rename rw_str to value and reindent cleanup section.harti2005-03-141-70/+72
* Split off two function from VarParseLong to handle modifiers and theharti2005-03-141-172/+221
* Constify Var_Dump and simplify it by inlining VarPrintVar.harti2005-03-101-14/+8
* Finish constification of Var_Parse() and Var_Subst().harti2005-03-081-39/+30
OpenPOWER on IntegriCloud