The lexical page: http://www.d-programming-language.org/lex.html One example given for token strings is: q{ @ } // error, @ is not a valid D token However, @ is clearly listed as a token in the grammar specification earlier on the same page. Also, DMD accepts q{ @ } as a valid string (with expected value " @ "). This is a contradiction: either it is a valid token or it is not.
This was fixed.