Lines Matching full:loop

5 # TODO: Describe naming conventions for the loop variables.
13 # varmod-loop.mk The ':@var@...@' modifier
15 # A typical use case for a .for loop is to populate a variable with a list of
27 # The .for loop also works for multiple iteration variables.
37 # The .for loop splits the items at whitespace, taking quotes into account,
40 # Until 2012-06-03, the .for loop had split the items exactly at whitespace,
51 # In the body of the .for loop, the iteration variables can be accessed
54 # Instead, before interpreting the body of the .for loop, the body is
60 # namespaces and do not influence each other. The "scope" of the .for loop
68 . warning After the .for loop, var must still have its original value.
71 . warning After the .for loop, var2 must still have its original value.
74 # Everything from the paragraph above also applies if the loop body is
82 . warning After the .for loop, var must still have its original value.
85 . warning After the .for loop, var2 must still have its original value.
94 # Before that date, the .for loop below expanded to:
96 # Since that date, the .for loop below expands to:
111 # When the outer .for loop is expanded, it sees the expression ${i} and
112 # expands it. The inner loop then only sees the expression ${:Uouter} and
124 # Until 2008-12-21, the .for loop was expanded by replacing the variable
129 # Until 2012-06-03, the .for loop had split the words at whitespace, without
142 # Ensure that braces and parentheses are properly escaped by the .for loop.
165 # expect+1: invalid character ':' in .for loop variable name
172 # expect+1: invalid character '$' in .for loop variable name
184 # expect+1: invalid character '$' in .for loop variable name
192 # Regular global variables and the "variables" from the .for loop don't
195 # .for loop. The expression '${INDIRECT}' refers to the global variable, not
196 # to the one from the .for loop.
206 # XXX: A parse error or evaluation error in the items of the .for loop
207 # should skip the whole loop. As of 2023-05-09, the loop is expanded as
230 # body of the loop is not evaluated. It is not a parse error.
236 # The loop body can be empty.
241 # A mismatched .if inside a .for loop is detected each time when the loop body
247 # If there are no iteration values, the loop body is not processed, and the
275 # Before for.c 1.172 from 2023-05-08, when make parsed a .for loop, it
280 # When make scanned the outer .for loop, it did not recognize the inner .for
281 # loop as such and instead treated it as an unknown directive. The body of
282 # the outer .for loop thus ended above the '.endfor'.
284 # When make scanned the inner .for loop, it did not recognize the inner
286 # loop' from the '.endfor' line, followed by a second parse error 'for-less
299 # (which has higher precedence than global variables) and a .for loop iterates
301 # value from the .for loop. This is because when the body of the .for loop is
304 # the body of the .for loop is actually interpreted, the body text doesn't
307 .for scope in loop
308 . if ${scope} != "loop"