mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 08:12:27 -04:00
Relevant/interesting changes:
o optimize string matching for ':M' and ':N'
o warn about malformed patterns in ':M', ':N' and '.if make(...)'
o allow guards to be targets as well as variables
The guard targets may include variable references like
__${.PARSEDIR:tA}/${.PARSEFILE}__
o optimization for makefiles protected from multiple-inclusion
skip even opening the file after first include.
o var.c: do not allow delete of readOnly variable
o parse.c: .break takes no args
22 lines
484 B
Text
22 lines
484 B
Text
For: new loop 2
|
|
For: end for 2
|
|
For: end for 1
|
|
For: loop body with outer = a:
|
|
. for inner in 1 2
|
|
VAR.${:Ua}${inner}= value
|
|
. endfor
|
|
For: end for 1
|
|
For: loop body with inner = 1:
|
|
VAR.${:Ua}${:U1}= value
|
|
For: loop body with inner = 2:
|
|
VAR.${:Ua}${:U2}= value
|
|
For: loop body with outer = b:
|
|
. for inner in 1 2
|
|
VAR.${:Ub}${inner}= value
|
|
. endfor
|
|
For: end for 1
|
|
For: loop body with inner = 1:
|
|
VAR.${:Ub}${:U1}= value
|
|
For: loop body with inner = 2:
|
|
VAR.${:Ub}${:U2}= value
|
|
exit status 0
|