Skip to content

Commit ab4735e

Browse files
committedMay 16, 2018
Null exclusions in grammar docs
The grammar documentation incorrectly says that comments, character literals, and string literals may not include null.
1 parent f0fdaba commit ab4735e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/doc/grammar.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ that does _not_ occur in the set of [keywords](#keywords).
121121
Some productions are defined by exclusion of particular Unicode characters:
122122

123123
- `non_null` is any single Unicode character aside from `U+0000` (null)
124-
- `non_eol` is `non_null` restricted to exclude `U+000A` (`'\n'`)
125-
- `non_single_quote` is `non_null` restricted to exclude `U+0027` (`'`)
126-
- `non_double_quote` is `non_null` restricted to exclude `U+0022` (`"`)
124+
- `non_eol` is any single Unicode character aside from `U+000A` (`'\n'`)
125+
- `non_single_quote` is any single Unicode character aside from `U+0027` (`'`)
126+
- `non_double_quote` is any single Unicode character aside from `U+0022` (`"`)
127127

128128
## Comments
129129

0 commit comments

Comments
 (0)
Please sign in to comment.