https://issues.dlang.org/show_bug.cgi?id=23999

Dennis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #2 from Dennis <[email protected]> ---
There is no ambiguity.

> The source text is split into tokens using the maximal munch algorithm, i.e., 
> the lexical analyzer assumes the longest possible token.

https://dlang.org/spec/lex.html#source_text

The longest possible tokens in your example are `q{foo}` and `q{foo}c`
respectively, leaving `bb` and `c` as identifier tokens.

--

Reply via email to