Skip to content

Commit b7b6a0b

Browse files
committed
Move to after DefaultValue, and make [Const]
1 parent 98ffe21 commit b7b6a0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/Appendix B -- Grammar Summary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ ObjectField[Const] : Name : Value[?Const]
162162

163163
VariableDefinitions : ( VariableDefinition+ )
164164

165-
VariableDefinition : Variable : Type Directives? DefaultValue?
165+
VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
166166

167167
Variable : $ Name
168168

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ Variable : $ Name
986986

987987
VariableDefinitions : ( VariableDefinition+ )
988988

989-
VariableDefinition : Variable : Type Directives? DefaultValue?
989+
VariableDefinition : Variable : Type DefaultValue? Directives[Const]?
990990

991991
DefaultValue : = Value[Const]
992992

0 commit comments

Comments
 (0)