blob: c24f437a48c22b5660ff8e106bd109cb15d1a036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Enforce { } and replace use case with new statements?
=====================================================
from:
if x continue
if y return 123
if z goto end
to:
continue if x
return 123 if y
goto end if z
# (perhaps "continue" should be renamed to "skip" or "next")
# "return ...long expression... if ..." could be confusing
or:
cskip if x
creturn 123 if y
cgoto end if z
or:
when x skip
when x return 123
when x goto z
|