From ab4735e2ea4b000c27fbd1aeb56019da4720f62c Mon Sep 17 00:00:00 2001 From: bstrie Date: Wed, 16 May 2018 01:16:01 +0000 Subject: [PATCH 1/1] Null exclusions in grammar docs The grammar documentation incorrectly says that comments, character literals, and string literals may not include null. --- src/doc/grammar.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/grammar.md b/src/doc/grammar.md index 78432b6a965..3ba8b7ae687 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -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 -- 2.44.0