Skip to content

Commit 44f3e9d

Browse files
committed
Use * instead of +? to indicate zero or more quantifier
1 parent a5b5d61 commit 44f3e9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Section 8 -- Grammar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ LineTerminator :
126126
- "Paragraph Separator (U+2029)"
127127

128128
Comment :
129-
- `#` CommentChar+?
129+
- `#` CommentChar*
130130

131131
CommentChar : "Any character" but not LineTerminator
132132

@@ -167,7 +167,7 @@ FloatValue :
167167

168168
IntegerPart :
169169
- NegativeSign? 0
170-
- NegativeSign? NonZeroDigit Digit+?
170+
- NegativeSign? NonZeroDigit Digit*
171171

172172
FractionalPart : . Digit+
173173

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"deploy": "npm run build && (cd out && git init && git config user.name \"Travis CI\" && git config user.email \"[email protected]\" && git add . && git commit -m \"Deploy to GitHub Pages\" && git push --force --quiet \"https://${GH_TOKEN}@github.com/facebook/graphql.git\" master:gh-pages > /dev/null 2>1)"
2222
},
2323
"devDependencies": {
24-
"spec-md": "0.3.7"
24+
"spec-md": "0.4.0"
2525
}
2626
}

0 commit comments

Comments
 (0)