Skip to content

Commit b78b7c1

Browse files
committed
Mention that case fallthrough only happens by default. Also drop parens.
1 parent a02d2f4 commit b78b7c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AstSemantics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ array, or the default if the index is out of bounds. `tableswitch` targets may
269269
be either labels or `case` nodes.
270270

271271
A `case` node consists of a statement, and may be referenced in the parent
272-
`tableswitch`'s array. Control falls through into the next `case` (or the end
273-
of the `tableswitch`).
272+
`tableswitch`'s array. Unless exited explicitly, control falls through into the
273+
next `case` or the end of the `tableswitch`.
274274

275275

276276
## Calls

0 commit comments

Comments
 (0)