summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/forloops.c
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-04-07 22:51:45 +0200
committerTyge Lovset <[email protected]>2023-04-07 22:51:45 +0200
commit701b7af4aaf9fe3965c656c500d9200dd7c4831d (patch)
treef94ce3f97bbed242ab5b021f641464543554cb19 /misc/examples/forloops.c
parent13eb85e05a88633454df7b62b80737fcc9d12238 (diff)
downloadSTC-modified-701b7af4aaf9fe3965c656c500d9200dd7c4831d.tar.gz
STC-modified-701b7af4aaf9fe3965c656c500d9200dd7c4831d.zip
More docs updating.
Diffstat (limited to 'misc/examples/forloops.c')
-rw-r--r--misc/examples/forloops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/forloops.c b/misc/examples/forloops.c
index 82126456..1fc00614 100644
--- a/misc/examples/forloops.c
+++ b/misc/examples/forloops.c
@@ -42,7 +42,7 @@ int main()
printf(" %d", *i.ref);
puts("\n\nc_foreach_r: reverse");
- c_foreach_r (i, IVec, vec)
+ c_foreach_rv (i, IVec, vec)
printf(" %d", *i.ref);
puts("\n\nc_foreach in map:");