Skip to content

Commit c1ab292

Browse files
committed
Create a single intro paragraph.
Respond to feedback.
1 parent bf8910e commit c1ab292

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

standard/statements.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ In addition to the reachability provided by normal flow of control, a labeled st
278278
279279
### 13.6.1 General
280280
281-
A *declaration_statement* declares one or more local variables, one or more local constants, a local function, or a local using scope ([§13.14.2](statements.md#13142-using-declaration)). Declaration statements are permitted in blocks and switch blocks, but are not permitted as embedded statements. A *local_using_declaration* differs from the other forms in that it shall not appear directly in a *switch_block*, but may appear in a block nested within a *switch_block*.
281+
A *declaration_statement* declares one or more local variables via a *local_variable_declaration* ([§13.6.2](statements.md#1362-local-variable-declarations)), one or more local constants via a *local_constant_declaration* ([§13.6.3](statements.md#1363-local-constant-declarations)), a local function via a *local_function_declaration* ([§13.6.4](statements.md#1364-local-function-declarations)), or a local using scope via a *local_using_declaration* ([§13.14.2](statements.md#13142-using-declaration)). Declaration statements are permitted in blocks and switch blocks, but are not permitted as embedded statements. A *local_using_declaration* differs from the other forms in that it shall not appear directly in a *switch_block*, but may appear in a block nested within a *switch_block*.
282282
283283
```ANTLR
284284
declaration_statement
@@ -289,8 +289,6 @@ declaration_statement
289289
;
290290
```
291291
292-
A local variable is declared using a *local_variable_declaration* ([§13.6.2](statements.md#1362-local-variable-declarations)). A local constant is declared using a *local_constant_declaration* ([§13.6.3](statements.md#1363-local-constant-declarations)). A local function is declared using a *local_function_declaration* ([§13.6.4](statements.md#1364-local-function-declarations)). A using declaration is declared using a *local_using_declaration* (§13.14.2).
293-
294292
Except for a *local_using_declaration*, the declared names are introduced into the nearest enclosing declaration space ([§7.3](basic-concepts.md#73-declarations)). A *local_using_declaration* introduces a new declaration space and scope that extends from the declaration to the end of the enclosing block, as specified in [§13.14.2](statements.md#13142-using-declaration).
295293

296294
### 13.6.2 Local variable declarations

0 commit comments

Comments
 (0)