Ticket #208 (writing defect)

Opened 12 months ago

Last modified 10 months ago

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

comment:1 Changed 10 months ago by alexshinn

  • Status changed from new to decided

We voted it's valid.

comment:2 Changed 10 months ago by cowan

  • Owner changed from alexshinn to cowan
  • Status changed from decided to writing
Note: See TracTickets for help on using tickets.