Support optional else-branch for if-then-elif-end (#2598)
This commit is contained in:
1 parent
4dc2a2fb9d
commit
12ce4e3b54
4 files changed
+388
-391
No files matched your search
@@ -2147,7 +2147,7 @@ sections:
|
||||
|
||||
`if A then B end` is the same as `if A then B else . end`.
|
||||
That is, the `else` branch is optional, and if absent is the
|
||||
same as `.`.
|
||||
same as `.`. This also applies to `elif` with absent ending `else` branch.
|
||||
|
||||
Checking for false or null is a simpler notion of
|
||||
"truthiness" than is found in JavaScript or Python, but it
|
||||
|
||||
Reference in new issue
Block a user