Skip to content

Commit fc15897

Browse files
committed
Fix U+xxxx notation description
The grammar now accepts 4-6 hex digits for Unicode code points (needed for values above U+FFFF), so let's update the notation column to reflect the variable width. Let's also capitalize "Unicode", which is a proper noun.
1 parent ae86f19 commit fc15897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/notation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The following notations are used by the *Lexer* and *Syntax* grammar snippets:
2727
| ~`string` | ~`\n`, ~`*/` | Any characters, except this sequence |
2828
| ( ) | (`,` _Parameter_)<sup>?</sup> | Groups items |
2929
| ^ | `b'` ^ ASCII_FOR_CHAR | The rest of the sequence must match or parsing fails unconditionally ([hard cut operator]) |
30-
| U+xxxx | U+0060 | A single unicode character |
30+
| U+xxxx..xxxxxx | U+0060 | A single Unicode character |
3131
| \<text\> | \<any ASCII char except CR\> | An English description of what should be matched |
3232
| Rule <sub>suffix</sub> | IDENTIFIER_OR_KEYWORD <sub>_except `crate`_</sub> | A modification to the previous rule |
3333
| // Comment. | // Single line comment. | A comment extending to the end of the line. |

0 commit comments

Comments
 (0)