DMD 1.021 and 2.004 releases
Jascha Wetzel
"[firstname]" at mainia.de
Tue Sep 11 13:38:45 PDT 2007
Kirk McDonald wrote:
> Jascha Wetzel wrote:
>> therefore you can match q"[^"]*" and check the delimiters during
>> (context sensitive) semantic analysis.
>
> Is the following a valid string?
>
> q"/foo " bar/"
oh, you're right of course...
> Walter also said, in another branch of the thread, that this is not valid:
>
> q"/foo/bar/"
>
> Since it isn't all /that/ hard to match these examples, I wonder why
> they are disallowed. Just to simplify the lexer that much more?
what string would that represent?
foo/bar
foobar
foo
More information about the Digitalmars-d-announce
mailing list