bash: add c_style_for_statement

This commit is contained in:
Alexandre JULIEN 2024-01-14 12:06:09 +01:00 committed by Lewis Russell
parent 400a99ad43
commit 2017a0d7fc
2 changed files with 12 additions and 0 deletions

View file

@ -1,5 +1,6 @@
([
(for_statement)
(c_style_for_statement)
(function_definition)
(if_statement)
(case_statement)

View file

@ -66,6 +66,17 @@ foo() {
echo "Selected number: $REPLY"
done
for ((i=0; i<=10000; i++)); do
echo "$i"
done
}