www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1295] New: Some minor errors in the lexer grammar

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1295

           Summary: Some minor errors in the lexer grammar
           Product: D
           Version: 1.017
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: aziz.kerim gmail.com


Integer shouldn't be in the Integer rule:
http://www.digitalmars.com/d/lex.html#integerliteral

p and P should alternate in the HexExponent rule:
http://www.digitalmars.com/d/lex.html#floatliteral

Also, some rule names are not followed by a colon.


-- 
Jun 27 2007
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1295






p and P already do alternate.


-- 
Jun 27 2007
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1295






Yes, you're right. The font my browser used for rendering made it appear as
though there are only lower case p letters.


-- 
Jun 27 2007
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1295


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED





Fixed DMD 1.018 and DMD 2.002


-- 
Jul 01 2007