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

           Summary: Special token sequence
           Product: D
           Version: D1 & D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jema...@earthlink.net


--- Comment #0 from John Mandeville <jema...@earthlink.net> 2010-10-30 16:50:32 
PDT ---
If I understand the documentation correctly, this should not compile:

#line 99L

This is because the fist token following line is supposed to be an Integer, not
an IntegerLiteral.  Thus the suffix "L" should not be allowed.  However, this
compiles on both D1 and D2.

The suffix here is silly but harmless.  I don't much care whether it should be
allowed.  But it is still worth noting that the documentation is inconsistent
with the compiler behavior.

Tested on Windows with v1.063, v1.065, v2.049, and v2.050.

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

Reply via email to