Skip to content

Commit

Permalink
Null exclusions in grammar docs
Browse files Browse the repository at this point in the history
The grammar documentation incorrectly says that comments, character literals,
and string literals may not include null.
  • Loading branch information
bstrie committed May 16, 2018
1 parent f0fdaba commit ab4735e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/grammar.md
Expand Up @@ -121,9 +121,9 @@ that does _not_ occur in the set of [keywords](#keywords).
Some productions are defined by exclusion of particular Unicode characters:

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

## Comments

Expand Down

0 comments on commit ab4735e

Please sign in to comment.