Support optional else-branch for if-then-elif-end (#2598)

This commit is contained in:
Mattias Wadman authored and GitHub committed 2023-07-04 07:51:29 +09:00
1 parent 4dc2a2fb9d
commit 12ce4e3b54
4 files changed
+388 -391

No files matched your search

+1 -1
View File
@@ -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