DIP 1026---Deprecate Context-Sensitive String Literals---Community Review Round 1
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Tue Dec 3 21:29:53 UTC 2019
On Tuesday, 3 December 2019 at 21:21:30 UTC, Ola Fosheim Grøstad
wrote:
> On Tuesday, 3 December 2019 at 21:04:52 UTC, H. S. Teoh wrote:
>> Treating string (or any other) literals as non-tokens makes no
>> sense because they are not symmetric with non-string (or
>> other) tokens, e.g., D tokens allow arbitrary whitespace
>> between them, yet you cannot arbitrarily insert whitespace
>> into a string literal without changing its semantics.
>
> Just change the syntax to q"delimiter .... retimiled" and I
> believe it will be context free... IIRC.
That was a joke! Don't argue it...
More information about the Digitalmars-d
mailing list