DMD 1.021 and 2.004 releases
Ary Manzana
ary at esperanto.org.ar
Fri Sep 7 05:51:14 PDT 2007
Walter Bright wrote:
> Reiner Pope wrote:
>> According to the docs,
>>
>> q{/*}*/ }
>>
>> is the same as
>>
>> "/*?*/ "
>>
>> is this a feature to assist macros in parsing strings -- all comments
>> are turned to '?', or is it a mistake?
>
> It's a typo. Replace the ? with }.
I also thought it was a ?. Specially since the same example is in the
PDF of the conference (slide 36). I also have the doubt of Bruno: what's
the use of delimited strings and token strings?
More information about the Digitalmars-d-announce
mailing list