Skip to content

Commit

Permalink
[stmt.switch] Clarify comparison for case labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jensmaurer authored and zygoloid committed Oct 9, 2018
1 parent 5af570b commit 6997ed2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/statements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -366,9 +366,9 @@

\pnum
When the \tcode{switch} statement is executed, its condition is
evaluated and compared with each case constant.
evaluated.
\indextext{label!\idxcode{case}}%
If one of the case constants is equal to the value of the condition,
If one of the case constants has the same value as the condition,
control is passed to the statement following the matched case label. If
no case constant matches the condition, and if there is a
\indextext{label!\idxcode{default}}%
Expand Down

0 comments on commit 6997ed2

Please sign in to comment.