www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5138] New: Special token sequence

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: jemandy earthlink.net



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: -------
Oct 30 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5138


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



00:31:40 PST ---
Fixed 1.073/2.058

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