diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-22 13:10:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-09-22 13:10:08 +0200 |
commit | 7d137fd6a9ceb54574481082e9944de168b06b78 (patch) | |
tree | 973e78cd6cf64ca53b50f5dbc026449e945cdaeb /.gitattributes | |
parent | 7b9c113d52bbcecf45c9407e4ee30ee559418cb2 (diff) |
Add $integer_sequence(<begin>, <end>[, <step>]) function
It returns the list of uint64 integers starting from <begin> (including)
to <end> (excluding) with the specified <step> or 1 if unspecified. For
example:
hdr = foo.hxx bar.hxx baz.hxx
src = foo.cxx bar.cxx baz.cxx
assert ($size($hdr) == $size($src)) "hdr and src expected to be parallel"
for i: $integer_sequence(0, $size($hdr))
{
h = ($hdr[$i])
s = ($src[$i])
...
}
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions