Title
Can an alternative token be used as a ud-suffix?
Status
nad
Section
5.13.9 [lex.ext]
Submitter
David Krauss

Created on 2015-06-28.00:00:00 last changed 102 months ago

Messages

Date: 2015-10-15.00:00:00

Rationale (October, 2015):

The identifier in a ud-suffix is required to begin with an underscore, and the identifier-like alternative tokens do not satisfy this requirement.

Date: 2022-11-20.07:54:16

According to the grammar in 5.13.9 [lex.ext], a ud-suffix is an identifier. However, implementations seem to agree that "x"or"y" is equivalent to "xy"or and not to true. Should the Standard permit identifier-like alternative tokens as ud-suffixes?

History
Date User Action Args
2015-11-10 00:00:00adminsetmessages: + msg5970
2015-06-28 00:00:00admincreate