Skip to content

Conversation

@rbakbashev
Copy link
Contributor

No description provided.

For consistency with the rest of the doc
Because of the leading pipe, |, these categories were permitted to be
empty:

    AsciiEscape ::=
      | $$\0$$
      | $$\"$$
      ..

Because of that, CharacterLiteral was also allowed to be empty:

    CharacterLiteral ::=
        $$'$$ CharacterContent $$'$$

    CharacterContent ::=
        AsciiEscape
      | CharacterLiteralCharacter
      | UnicodeEscape

Same for ByteEscape and ByteLiteral. These were the only two categories:

    $ rg -U '::=\n +\|' | wc -l
    0
@kirtchev-adacore kirtchev-adacore self-assigned this Oct 29, 2025
Copy link
Contributor

@kirtchev-adacore kirtchev-adacore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution @rbakbashev !

@tshepang tshepang enabled auto-merge October 29, 2025 09:52
@tshepang tshepang added this pull request to the merge queue Oct 29, 2025
Merged via the queue into rust-lang:main with commit d1b7f1c Oct 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants