Ticket #208 (writing defect)
Is || a valid identifier?
| Reported by: | cowan | Owned by: | cowan |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | WG1 - Core | Keywords: | |
| Cc: |
Description
The grammar in 7.1.1 allows || as an <identifier>. However, page 5 suggests the |...| form is only for convenience (e.g. |foo bar| is equivalent to foo\x20;bar). There's no way to normalise || to anything without the vertical bars that's a valid identifier. Was that intentional, or should the rule be
<vertical bar> <symbol element>+ <vertical bar>
Change History
Note: See
TracTickets for help on using
tickets.

We voted it's valid.