Skip to content

Commit

Permalink
Support optional else-branch for if-then-elif-end
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Jun 1, 2023
1 parent 89caf46 commit 159a76f
Show file tree
Hide file tree
Showing 5 changed files with 1,745 additions and 1,429 deletions.
2 changes: 1 addition & 1 deletion docs/content/manual/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,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
Expand Down
Loading

0 comments on commit 159a76f

Please sign in to comment.