shortened elsif to elif.
enhanced is_reserved_word() to return a token type through a non-NULL second parameter
This commit is contained in:
@ -70,7 +70,14 @@ class MyClass(Object)
|
||||
k := if (i < 20) { 30 } else { 40 }.
|
||||
|
||||
if (a < 10) { ... }
|
||||
elsif (a < 20) { ... }
|
||||
elif (a < 20) { ... }
|
||||
else { ... }.
|
||||
|
||||
ifnot (i < 20) { 30 } else { 40 }.
|
||||
nif (i < 20) { 30 } else { 40 }.
|
||||
|
||||
if (a < 10) { .. }
|
||||
elifnot (a > 20) { ... }
|
||||
else { ... }.
|
||||
~~~
|
||||
|
||||
|
Reference in New Issue
Block a user