Skip to content

Commit 6c9e744

Browse files
ronan-dQuentinOchem
authored andcommitted
Fix while loop in example
1 parent e3878bf commit 6c9e744

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

features/rfc-spark-loop-index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ begin
112112
if E = 0 then
113113
C := C + 1;
114114
end if;
115+
116+
E_Loop_Index := Next (S, E_Loop_Index);
117+
115118
pragma Loop_Invariant (C <= E_Loop_Index);
116119
end;
117120
end loop;

0 commit comments

Comments
 (0)