tmp/tmpzo686178/{from.md → to.md}
RENAMED
|
@@ -18,13 +18,13 @@ in the outermost block of any handler associated with a
|
|
| 18 |
|
| 19 |
The name declared in an *exception-declaration* is local to the
|
| 20 |
*handler* and shall not be redeclared in the outermost block of the
|
| 21 |
*handler*.
|
| 22 |
|
| 23 |
-
Names declared in the *
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
condition of that statement nor in the outermost block (or, for the `if`
|
| 28 |
statement, any of the outermost blocks) of the controlled statement;
|
| 29 |
see [[stmt.select]].
|
| 30 |
|
|
|
|
| 18 |
|
| 19 |
The name declared in an *exception-declaration* is local to the
|
| 20 |
*handler* and shall not be redeclared in the outermost block of the
|
| 21 |
*handler*.
|
| 22 |
|
| 23 |
+
Names declared in the *init-statement*, the *for-range-declaration*, and
|
| 24 |
+
in the *condition* of `if`, `while`, `for`, and `switch` statements are
|
| 25 |
+
local to the `if`, `while`, `for`, or `switch` statement (including the
|
| 26 |
+
controlled statement), and shall not be redeclared in a subsequent
|
| 27 |
condition of that statement nor in the outermost block (or, for the `if`
|
| 28 |
statement, any of the outermost blocks) of the controlled statement;
|
| 29 |
see [[stmt.select]].
|
| 30 |
|