Skip to content

Commit e4c2b08

Browse files
committed
Remove unnecessary NonEmptyOrScopeBlockStatement links
1 parent f9ac040 commit e4c2b08

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/statement.dd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,17 +1758,17 @@ $(H2 $(LEGACY_LNAME2 ScopeGuardStatement, scope-guard-statement, Scope Guard Sta
17581758

17591759
$(GRAMMAR
17601760
$(GNAME ScopeGuardStatement):
1761-
$(D scope ( exit )) $(PSCURLYSCOPE)
1762-
$(D scope ( success )) $(PSCURLYSCOPE)
1763-
$(D scope ( failure )) $(PSCURLYSCOPE)
1761+
$(D scope ( exit )) $(GLINK NonEmptyOrScopeBlockStatement)
1762+
$(D scope ( success )) $(GLINK NonEmptyOrScopeBlockStatement)
1763+
$(D scope ( failure )) $(GLINK NonEmptyOrScopeBlockStatement)
17641764
)
17651765

1766-
$(P The $(I ScopeGuardStatement) executes $(PSCURLYSCOPE) at the close of the
1766+
$(P The $(I ScopeGuardStatement) executes *NonEmptyOrScopeBlockStatement* at the close of the
17671767
current scope, rather than at the point where the $(I ScopeGuardStatement)
1768-
appears. $(D scope(exit)) executes $(PSCURLYSCOPE) when the scope exits normally
1768+
appears. $(D scope(exit)) executes *NonEmptyOrScopeBlockStatement* when the scope exits normally
17691769
or when it exits due to exception unwinding. $(D scope(failure)) executes
1770-
$(PSCURLYSCOPE) when the scope exits due to exception unwinding.
1771-
`scope(success)` executes $(PSCURLYSCOPE) when the scope exits normally.)
1770+
*NonEmptyOrScopeBlockStatement* when the scope exits due to exception unwinding.
1771+
`scope(success)` executes *NonEmptyOrScopeBlockStatement* when the scope exits normally.)
17721772

17731773
$(P If there are multiple $(I ScopeGuardStatement)s in a scope, they
17741774
will be executed in the reverse lexical order in which they appear.

0 commit comments

Comments
 (0)