diff --git a/docs/grammar/README.md b/docs/grammar/README.md index 97b9dd8e56..e8e3b233a2 100644 --- a/docs/grammar/README.md +++ b/docs/grammar/README.md @@ -821,9 +821,13 @@ file = *declaration Format String Grammar --------------------- +The code points mentioned in this grammar represent +the elements of a Leo format string already parsed, +after escapes have been processed. + ```abnf -not-brace = %x0-7A / %x7C / %x7E-D7FF / %xE000-10FFFF ; anything but { or } +not-brace = %x0-7A / %x7C / %x7E-10FFFF ; anything but { or } ``` diff --git a/docs/grammar/abnf-grammar.txt b/docs/grammar/abnf-grammar.txt index aafe2a6c90..c67ec53237 100644 --- a/docs/grammar/abnf-grammar.txt +++ b/docs/grammar/abnf-grammar.txt @@ -329,7 +329,11 @@ file = *declaration ; Format String Grammar ; --------------------- -not-brace = %x0-7A / %x7C / %x7E-D7FF / %xE000-10FFFF ; anything but { or } +; The code points mentioned in this grammar represent +; the elements of a Leo format string already parsed, +; after escapes have been processed. + +not-brace = %x0-7A / %x7C / %x7E-10FFFF ; anything but { or } format-string-container = "{}"