[Issue 6734] New: Contradiction on the Lexical page on website

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 26 11:56:06 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6734

           Summary: Contradiction on the Lexical page on website
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: peter.alexander.au at gmail.com


--- Comment #0 from Peter Alexander <peter.alexander.au at gmail.com> 2011-09-26 11:55:32 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list