Skip to content

Commit defeea0

Browse files
CyberShadowGeod24
authored andcommitted
spec/statement.dd: Remove PSSEMI from LabeledStatement
A { } block after a label does always introduce a scope. They are also syntactically identical, and therefore indistinguishable.
1 parent e0521b4 commit defeea0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spec/statement.dd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ $(P Statements can be labeled. A label is an identifier that
142142
$(GRAMMAR
143143
$(GNAME LabeledStatement):
144144
$(GLINK_LEX Identifier) $(D :)
145-
$(GLINK_LEX Identifier) $(D :) $(PSSEMI)
146145
$(GLINK_LEX Identifier) $(D :) $(PSSEMI_PSCURLYSCOPE)
147146
)
148147

0 commit comments

Comments
 (0)