Skip to content

Commit 55458b1

Browse files
committed
Sync syntax with Lee's suggestions
1 parent bbe2512 commit 55458b1

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

spec/Appendix C -- Grammar Summary.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -420,9 +420,7 @@ TypeSystemDirectiveLocation : one of
420420
- `INPUT_OBJECT`
421421
- `INPUT_FIELD_DEFINITION`
422422

423-
ServiceDefinition :
424-
425-
- Description? service { ServiceAttribute\* }
423+
ServiceDefinition : Description? service { ServiceAttribute\* }
426424

427425
ServiceAttribute :
428426

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ lacks the punctuation often used to describe mathematical expressions.
186186

187187
Name ::
188188

189-
- NameStart NameContinue\* [lookahead != {NameContinue, `.`}]
189+
- NameStart NameContinue\* [lookahead != NameContinue]
190190

191191
NameStart ::
192192

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,10 +2325,7 @@ input UserUniqueCondition @oneOf {
23252325

23262326
## Service Definition
23272327

2328-
ServiceDefinition :
2329-
2330-
- Description service [lookahead != `{`]
2331-
- Description? service { ServiceAttribute+ }
2328+
ServiceDefinition : Description? service { ServiceAttribute\* }
23322329

23332330
ServiceAttribute :
23342331

@@ -2341,7 +2338,7 @@ All capabilities within a service must have unique identifiers.
23412338

23422339
### Service Capabilities
23432340

2344-
ServiceCapabilities: capabilities { ServiceCapability+ }
2341+
ServiceCapabilities: capabilities { ServiceCapability\* }
23452342

23462343
ServiceCapability:
23472344

0 commit comments

Comments
 (0)