summaryrefslogtreecommitdiff
path: root/grammars/json.gbnf
diff options
context:
space:
mode:
Diffstat (limited to 'grammars/json.gbnf')
-rw-r--r--grammars/json.gbnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/json.gbnf b/grammars/json.gbnf
index 064a53f8..b6448c87 100644
--- a/grammars/json.gbnf
+++ b/grammars/json.gbnf
@@ -22,4 +22,4 @@ string ::=
number ::= ("-"? ([0-9] | [1-9] [0-9]{0,15})) ("." [0-9]+)? ([eE] [-+]? [0-9] [1-9]{0,15})? ws
# Optional space: by convention, applied in this grammar after literal chars when allowed
-ws ::= [ \t\n]{0,20}
+ws ::= | " " | "\n" [ \t]{0,20}