summaryrefslogtreecommitdiff
path: root/tex/thesis/implementation/experiments/counter.c
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@carlo-laptop>2012-11-28 11:09:10 +1100
committerCarlo Zancanaro <carlo@carlo-laptop>2012-11-28 11:09:10 +1100
commit62d8d7011c339f9b192099b2fc6a6d2f567f0a4d (patch)
tree13dae8f7e7de727677450535288f90b4a30ba70d /tex/thesis/implementation/experiments/counter.c
parent839764bd955d2bddedb4a38ab1d4d92c797c56b9 (diff)
Ahhh! Lots of things.
Diffstat (limited to 'tex/thesis/implementation/experiments/counter.c')
-rw-r--r--tex/thesis/implementation/experiments/counter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/thesis/implementation/experiments/counter.c b/tex/thesis/implementation/experiments/counter.c
index ae935e6..ebd6ff0 100644
--- a/tex/thesis/implementation/experiments/counter.c
+++ b/tex/thesis/implementation/experiments/counter.c
@@ -1,8 +1,10 @@
int counter() {
+ /* A */
int i = 0;
- while (i < 100) {
+ while (/* B */i < 100) {
i = i + 1;
}
+ /* C */
return i;
}