DMD 1.021 and 2.004 releases

Aziz K. aziz.kerim at gmail.com
Wed Sep 12 02:13:43 PDT 2007


Kirk McDonald wrote:
> I would expect it to represent foo/bar, in the same way that  
> q"(foo(bar))" represents foo(bar).
>

'/' is not a nesting delimiter. I think q"/foo/bar/" should be scanned as:
q"/foo/ // Error: expected '"' after closing delimiter. "foo" would be the  
actual value of the literal.
bar // Identifier token
/ // Division token
" // Start of a new, normal string literal



More information about the Digitalmars-d-announce mailing list