summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/var.c
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Constify the callers of brk_string in this file.harti2005-03-071-18/+24
* Style: fix indendation of VarModify().harti2005-03-071-15/+15
* Factor out the 'S' modifier into its own function. Move a variableharti2005-03-071-174/+183
* Move the 'M' and 'N' modifiers into their own function.harti2005-03-071-49/+63
* Constify the code paths for the 'M' and 'N' modifiers.harti2005-03-031-52/+62
* Transform VarParseLong() so that the lifetime and the constness ofharti2005-03-031-139/+143
* Move the check for the error case (variable ends without a closingharti2005-03-021-18/+17
* Fix indentation on a block of code.harti2005-03-021-27/+27
* Push the length computation down into VarParseShort().harti2005-03-021-17/+27
* Make sure the length variable is initialized to 0 before passingharti2005-03-011-0/+5
* Split out ParseModifiers from VarParseLong.harti2005-03-011-590/+603
* VarParseLong: Create new else block for haveModifier. Move the callharti2005-03-011-37/+49
* Reverse a condition so that the else clause can be changedharti2005-03-011-39/+38
* VarParseLong: Move the initialisation of dynamic up which savesharti2005-02-281-3/+7
* Don't modify the input string in VarParseLong(). It is notharti2005-02-281-15/+6
* Major clean up and split the Var_Parse monster function into threeharti2005-02-261-676/+714
* Change the return value of Var_Subst to return a Buffer insteadharti2005-02-251-40/+57
* Var_Parse: Separate different error states by introducing an else blockharti2005-02-241-64/+54
* Push assignments to just before the returns from the function toharti2005-02-241-16/+18
* Fix wording of a comment.harti2005-02-241-1/+1
* Forgot to set *freePtr to FALSE in another place.harti2005-02-211-0/+1
* Push the assignments of some variables down into the sub-blocks whereharti2005-02-181-4/+16
* Push down variables into local scope in Var_Parse to make theirharti2005-02-181-7/+6
* Whitespace cleanup: substitute mixed tabs and spaces by canonicalharti2005-02-171-16/+17
* Move error case to begin of if-else chain. Do not needless initializeharti2005-02-171-14/+19
* Sort out the error case that a single '$' was passed a little bitharti2005-02-171-6/+11
* Convert several instances of negative logic to positive logic.harti2005-02-111-85/+84
* Buffers are already NUL-terminated so there is no need to explicitely addharti2005-02-101-1/+0
* Mostly stylistic nits in preparation for splitting up Var_Parse:harti2005-02-101-15/+19
* Let the buffer just use the default size by specifying 0 as the sizeharti2005-02-101-1/+1
* Mark the modification of the input string (which should really be const)harti2005-02-101-1/+1
* Style nits:harti2005-02-101-7/+13
* Describe a pre-condition of Var_Parse().harti2005-02-101-0/+3
* Remove a comment that's not actual anymore.harti2005-02-101-3/+0
* Fix spacing by converting mixes of space and tab to tab. Also add a numberharti2005-02-101-22/+27
* Use defines for character constants for open and closing braces andharti2005-02-091-11/+22
* Untangle VarFind and, while rewriting most of the function, fix theharti2005-02-091-45/+51
* Introduce VarCreate and VarDestroy functions and used them whereharti2005-02-091-58/+51
OpenPOWER on IntegriCloud