Skip to content

Commit c43f4aa

Browse files
leebyronmagicmark
authored andcommitted
Update Punctuator grammar
1 parent 148d073 commit c43f4aa

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
@@ -43,7 +43,7 @@ Token ::
4343
- FloatValue
4444
- StringValue
4545

46-
Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | } . [lookahead != .]
46+
Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | } . [lookahead != {`.`, Digit}]
4747

4848
Name ::
4949

spec/Section 2 -- Language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ and is {Ignored}.
176176

177177
### Punctuators
178178

179-
Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | } . [lookahead != .]
179+
Punctuator :: one of ! $ & ( ) ... : = @ [ ] { | } . [lookahead != {`.`, Digit}]
180180

181181
GraphQL documents include punctuation in order to describe structure. GraphQL is
182182
a data description language and not a programming language, therefore GraphQL

0 commit comments

Comments
 (0)