<p><br>
On May 21, 2013 12:25 AM, "Jesse Phillips" <<a href="mailto:Jessekphillips%2BD@gmail.com">Jessekphillips+D@gmail.com</a>> wrote:<br>
><br>
> On Monday, 20 May 2013 at 23:08:26 UTC, Iain Buclaw wrote:<br>
>><br>
>> Thanks.<br>
>><br>
>> I've fixed cgdb syntax highlighting for various literals here.<br>
>><br>
>> <a href="https://github.com/cgdb/cgdb/pull/22">https://github.com/cgdb/cgdb/pull/22</a><br>
>><br>
>> Wonder if anyone has any ideas for q"( strings )"<br>
>><br>
>> Regards<br>
><br>
><br>
> In case you don't know (guessing you might not based on the comment):<br>
><br>
> q{ Token string here }<br>
><br>
> q"( custom wysiwyg string delimiter )"<br>
><br>
> The first should probably highlight as normal code (Vim is doing that). The second is a normal string.<br>
><br>
> The token string is interesting since it can be used to house non-D language making D not necessarily the proper highlighting scheme.... hmm I wonder if I could make vim.d identify the language (probably needs specific indicator though).</p>

<p>The bit causing trouble is knowing the token that shall end the  string. </p>
<p>Regards<br>
-- <br>
Iain Buclaw</p>
<p>*(p < e ? p++ : p) = (c & 0x0f) + '0';</p>