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