Closed mykeels closed 5 years ago
Currently, the syntax for fun is:
fun
fún (jeki i = 1; i <= 5; jeki i = i + 1;) { sọpé yipo(7); }
The jeki beginning the increment section of fun i.e. jeki i = i + 1; and its ending semi-colon are somewhat redundant.
jeki
increment
jeki i = i + 1;
This PR helps fix that, by ensuring they are optional, and adding backward compatibility, so it can now be written as:
fún (jeki i = 1; i <= 5; i = i + 1) { sọpé yipo(7); }
Currently, the syntax for
fun
is:The
jeki
beginning theincrement
section offun
i.e.jeki i = i + 1;
and its ending semi-colon are somewhat redundant.This PR helps fix that, by ensuring they are optional, and adding backward compatibility, so it can now be written as: