A Perspective on D from game industry
Kapps via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jun 17 04:57:56 PDT 2014
On Tuesday, 17 June 2014 at 10:25:39 UTC, dennis luehring wrote:
> Am 17.06.2014 11:30, schrieb Walter Bright:
>>> And how would you syntax-highlight a string mixin that's
>>> assembled from
>>> arbitrary string fragments?
>>
>> You wouldn't need to, since the text editor sees only normal D
>> code.
>>
>
> the text editor sees just D-code-Strings - so no
> syntax-highlight except that for Strings
The q{ } syntax is meant to work around this.
mixin(q{
void foo() {
return 8;
}
});
Should be highlighted.
More information about the Digitalmars-d
mailing list