Date: Wed, 27 Apr 2022 19:28:21 +0200
On 27/04/2022 18.06, Tom Honermann wrote:
> On 4/27/22 3:06 AM, Jens Maurer wrote:
>> On 27/04/2022 06.05, Steve Downey via SG16 wrote:
>>> > d-char: <https://eel.is/c++draft/full#nt:d-char>
>>> any member of the basic character set except:
>>> U+0020 SPACE, U+0028 LEFT PARENTHESIS, U+0029 RIGHT PARENTHESIS, U+005C REVERSE SOLIDUS,
>>> U+0009 CHARACTER TABULATION, U+000B LINE TABULATION, U+000C FORM FEED, and new-line
>>> This one would need some massaging.
>>>
>>> Not clear to me that it does? Not white-space-ish or starting an escape?
>> This restricts the delimiter characters in a raw string literal.
>> If you don't change this list, you'll add $ @ ` to the list of valid
>> delimiter characters in a raw string literal.
>>
>> Either you amend this exclusion list (retaining the status quo), or
>> you should highlight this change in behavior in the prose part of
>> your paper.
>
> I don't see a reason to restrict use of these characters in that context; other symbols are permitted.
>
> If the related wording is changed, please note that it appears twice in the standard; in [lex.string] <http://eel.is/c++draft/lex.string#nt:d-char> and in [gram.lex] <http://eel.is/c++draft/gram.lex> (I hope/expect the latter is generated from the former, but I don't know that for sure).
The Annex with the grammar summary is indeed auto-generated.
Please show changes to [lex.string] only.
Jens
> On 4/27/22 3:06 AM, Jens Maurer wrote:
>> On 27/04/2022 06.05, Steve Downey via SG16 wrote:
>>> > d-char: <https://eel.is/c++draft/full#nt:d-char>
>>> any member of the basic character set except:
>>> U+0020 SPACE, U+0028 LEFT PARENTHESIS, U+0029 RIGHT PARENTHESIS, U+005C REVERSE SOLIDUS,
>>> U+0009 CHARACTER TABULATION, U+000B LINE TABULATION, U+000C FORM FEED, and new-line
>>> This one would need some massaging.
>>>
>>> Not clear to me that it does? Not white-space-ish or starting an escape?
>> This restricts the delimiter characters in a raw string literal.
>> If you don't change this list, you'll add $ @ ` to the list of valid
>> delimiter characters in a raw string literal.
>>
>> Either you amend this exclusion list (retaining the status quo), or
>> you should highlight this change in behavior in the prose part of
>> your paper.
>
> I don't see a reason to restrict use of these characters in that context; other symbols are permitted.
>
> If the related wording is changed, please note that it appears twice in the standard; in [lex.string] <http://eel.is/c++draft/lex.string#nt:d-char> and in [gram.lex] <http://eel.is/c++draft/gram.lex> (I hope/expect the latter is generated from the former, but I don't know that for sure).
The Annex with the grammar summary is indeed auto-generated.
Please show changes to [lex.string] only.
Jens
Received on 2022-04-27 17:28:27